Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008313/0.0008303, allocations: 93.98 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009441/0.0009441, allocations: 193.9 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 45.91 MB / 344.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 63.48 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.375/0.527, allocations: 43.66 MB / 0.5135 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02973/0.5568, allocations: 10.15 MB / 0.5234 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.013/0.5699, allocations: 211.4 kB / 0.5236 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01216/0.5821, allocations: 2.239 MB / 0.5258 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03024/0.6124, allocations: 6.786 MB / 0.5324 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.6187, allocations: 0.9677 MB / 0.5333 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0482/0.6669, allocations: 34.19 MB / 0.5667 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.6793, allocations: 6.279 MB / 0.5729 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/0.6846, allocations: 1.699 MB / 0.5745 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/0.6901, allocations: 2.676 MB / 0.5771 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001579/0.6917, allocations: 204 kB / 0.5773 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.6961, allocations: 1.194 MB / 0.5785 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005161/0.7013, allocations: 2.271 MB / 0.5807 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.7046, allocations: 1.088 MB / 0.5818 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.7165, allocations: 7.707 MB / 0.5893 GB, free: 10.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.7166, allocations: 0 / 0.5893 GB, free: 10.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7166, allocations: 0 / 0.5893 GB, free: 10.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004659/0.7171, allocations: 0 / 0.5893 GB, free: 10.4 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01749/0.7346, allocations: 5.467 MB / 0.5946 GB, free: 4.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.7347, allocations: 8.031 kB / 0.5946 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.7506, allocations: 2.785 MB / 0.5974 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009539/0.7602, allocations: 3.506 MB / 0.6008 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/0.7606, allocations: 353.9 kB / 0.6011 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.7626, allocations: 427.7 kB / 0.6015 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03282/0.7954, allocations: 13.86 MB / 0.6151 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.7957, allocations: 63.34 kB / 0.6151 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007727/0.7964, allocations: 195.8 kB / 0.6153 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003716/0.8002, allocations: 2.41 MB / 0.6177 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02636/0.8265, allocations: 11.75 MB / 0.6291 GB, free: 0.5625 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08468/0.9113, allocations: 51.77 MB / 0.6797 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.925, allocations: 4.742 MB / 0.6843 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004614/0.9297, allocations: 2.952 MB / 0.6872 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02084/0.9505, allocations: 12.94 MB / 0.6998 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.9506, allocations: 59.81 kB / 0.6999 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=197): time 4.799e-06/0.9506, allocations: 0 / 0.6999 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=248): time 0.5129/1.464, allocations: 43.09 MB / 0.742 GB, free: 170 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.464, allocations: 235.6 kB / 0.7422 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.471, allocations: 4.746 MB / 0.7468 GB, free: 165 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008046/1.471, allocations: 61.7 kB / 0.7469 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002238/1.474, allocations: 3.839 MB / 0.7507 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.475, allocations: 0.9337 MB / 0.7516 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/1.475, allocations: 144 kB / 0.7517 GB, free: 160 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003174/1.476, allocations: 0.624 MB / 0.7523 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004979/1.481, allocations: 3.415 MB / 0.7557 GB, free: 156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/1.488, allocations: 7.682 MB / 0.7632 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006697/1.494, allocations: 4.96 MB / 0.768 GB, free: 141.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.253e-05/1.495, allocations: 44 kB / 0.768 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02752/1.522, allocations: 14.42 MB / 0.7821 GB, free: 126.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.522, allocations: 68 kB / 0.7822 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/1.523, allocations: 152.1 kB / 0.7823 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/1.533, allocations: 4.048 MB / 0.7863 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005536/1.538, allocations: 1.641 MB / 0.7879 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/1.564, allocations: 18.66 MB / 0.8061 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007302/1.572, allocations: 471.3 kB / 0.8066 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/1.574, allocations: 437.8 kB / 0.807 GB, free: 101.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00716/1.581, allocations: 2.657 MB / 0.8096 GB, free: 98.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.583, allocations: 426.5 kB / 0.81 GB, free: 98.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/1.601, allocations: 8.633 MB / 0.8184 GB, free: 89.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/1.601, allocations: 24 kB / 0.8184 GB, free: 89.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/1.601, allocations: 15.94 kB / 0.8184 GB, free: 89.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/1.601, allocations: 7.969 kB / 0.8185 GB, free: 89.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03596/1.637, allocations: 17.89 MB / 0.8359 GB, free: 71.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/1.637, allocations: 3.984 kB / 0.8359 GB, free: 71.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.639, allocations: 395.4 kB / 0.8363 GB, free: 71.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.65, allocations: 4.073 MB / 0.8403 GB, free: 67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006579/1.651, allocations: 43.98 kB / 0.8403 GB, free: 66.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/1.673, allocations: 17.1 MB / 0.857 GB, free: 49.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.673, allocations: 3.469 kB / 0.857 GB, free: 49.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.697, allocations: 13.21 MB / 0.8699 GB, free: 36.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.698, allocations: 471.3 kB / 0.8704 GB, free: 35.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.7, allocations: 44.69 kB / 0.8704 GB, free: 35.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/1.703, allocations: 216.9 kB / 0.8706 GB, free: 35.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008747/1.704, allocations: 150.2 kB / 0.8708 GB, free: 35.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004626/1.705, allocations: 59.98 kB / 0.8708 GB, free: 35.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006087/1.711, allocations: 2.954 MB / 0.8737 GB, free: 32.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/1.711, allocations: 0 / 0.8737 GB, free: 32.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009293/1.72, allocations: 1.487 MB / 0.8752 GB, free: 31.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/1.721, allocations: 205.7 kB / 0.8754 GB, free: 30.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01619/1.737, allocations: 8.234 MB / 0.8834 GB, free: 22.69 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.738, allocations: 0 / 0.8834 GB, free: 22.69 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005122/1.743, allocations: 3.109 MB / 0.8864 GB, free: 19.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005557/1.748, allocations: 0.502 MB / 0.8869 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3646/2.113, allocations: 15.65 MB / 0.9022 GB, free: 169 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/2.124, allocations: 4.084 MB / 0.9062 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/2.126, allocations: 339.8 kB / 0.9065 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.314e-06/2.126, allocations: 0 / 0.9065 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1714/2.298, allocations: 100.2 MB / 1.004 GB, free: 90.84 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2CalcHelperMain.o] Error 1