Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008368, allocations: 94.67 kB / 16.67 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 175.7 kB / 17.57 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2712/0.2712, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006122/0.0006122, allocations: 22.12 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1618, allocations: 58.85 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.1076/0.2694, allocations: 99.27 MB / 0.5306 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4852/0.7547, allocations: 19.25 MB / 0.5494 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03042/0.7852, allocations: 436.2 kB / 0.5498 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.7888, allocations: 0.6555 MB / 0.5505 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.8016, allocations: 2.696 MB / 0.5531 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.8057, allocations: 1.034 MB / 0.5541 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02053/0.8263, allocations: 11.47 MB / 0.5653 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.8423, allocations: 8.323 MB / 0.5735 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007374/0.8498, allocations: 2.018 MB / 0.5754 GB, free: 8.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008858/0.8587, allocations: 3.581 MB / 0.5789 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.8608, allocations: 254.8 kB / 0.5792 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00483/0.8656, allocations: 1.335 MB / 0.5805 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004745/0.8704, allocations: 3.118 MB / 0.5835 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006623/0.877, allocations: 3.474 MB / 0.5869 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.8916, allocations: 9.526 MB / 0.5962 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8917, allocations: 3.938 kB / 0.5962 GB, free: 9.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.8917, allocations: 0 / 0.5962 GB, free: 9.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004903/0.8922, allocations: 0 / 0.5962 GB, free: 9.543 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02388/0.9161, allocations: 6.814 MB / 0.6029 GB, free: 2.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.9162, allocations: 8.031 kB / 0.6029 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.9356, allocations: 3.285 MB / 0.6061 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.9503, allocations: 5.232 MB / 0.6112 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006703/0.951, allocations: 404.8 kB / 0.6116 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003031/0.9541, allocations: 0.5243 MB / 0.6121 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04192/0.996, allocations: 16.42 MB / 0.6281 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005436/0.9966, allocations: 79.3 kB / 0.6282 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002589/0.9992, allocations: 253.7 kB / 0.6284 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00631/1.006, allocations: 3.078 MB / 0.6315 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03402/1.04, allocations: 13.69 MB / 0.6448 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/1.147, allocations: 62.47 MB / 0.7058 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/1.163, allocations: 6.118 MB / 0.7118 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005388/1.169, allocations: 3.416 MB / 0.7151 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/1.169, allocations: 49.09 kB / 0.7152 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.47e-05/1.169, allocations: 64.06 kB / 0.7152 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=249): time 6.923e-06/1.169, allocations: 0 / 0.7152 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.08336/1.253, allocations: 26.33 MB / 0.7409 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/1.253, allocations: 269.1 kB / 0.7412 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6507/1.904, allocations: 7.032 MB / 0.7481 GB, free: 243.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007936/1.905, allocations: 64.67 kB / 0.7481 GB, free: 243.7 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004242/1.909, allocations: 4.965 MB / 0.753 GB, free: 241.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.911, allocations: 1.039 MB / 0.754 GB, free: 241.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/1.912, allocations: 0.7759 MB / 0.7548 GB, free: 240.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/1.912, allocations: 301.1 kB / 0.755 GB, free: 240.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/1.919, allocations: 3.421 MB / 0.7584 GB, free: 239.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.93, allocations: 8.723 MB / 0.7669 GB, free: 231.3 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.945, allocations: 12.99 MB / 0.7796 GB, free: 220.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/1.945, allocations: 51.94 kB / 0.7796 GB, free: 220.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02661/1.971, allocations: 13.43 MB / 0.7928 GB, free: 215.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/1.972, allocations: 84 kB / 0.7928 GB, free: 215.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000458/1.972, allocations: 188 kB / 0.793 GB, free: 215.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/1.977, allocations: 1.787 MB / 0.7948 GB, free: 214 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007235/1.984, allocations: 2.091 MB / 0.7968 GB, free: 212.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.998, allocations: 11.77 MB / 0.8083 GB, free: 200.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/2.008, allocations: 0.5109 MB / 0.8088 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002926/2.011, allocations: 0.5295 MB / 0.8093 GB, free: 199.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009296/2.021, allocations: 3.323 MB / 0.8126 GB, free: 196 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002254/2.023, allocations: 0.5784 MB / 0.8131 GB, free: 195.4 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/2.036, allocations: 6.007 MB / 0.819 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.544e-05/2.036, allocations: 34.02 kB / 0.819 GB, free: 189.4 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-05/2.036, allocations: 8 kB / 0.819 GB, free: 189.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.212e-05/2.036, allocations: 15.95 kB / 0.819 GB, free: 189.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03261/2.069, allocations: 13.37 MB / 0.8321 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/2.069, allocations: 0 / 0.8321 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/2.071, allocations: 463.3 kB / 0.8325 GB, free: 175.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004123/2.075, allocations: 1.51 MB / 0.834 GB, free: 174 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005161/2.076, allocations: 51.98 kB / 0.8341 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/2.087, allocations: 10.84 MB / 0.8446 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.087, allocations: 0 / 0.8446 GB, free: 162.7 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/2.104, allocations: 9.758 MB / 0.8542 GB, free: 152.9 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004489/2.109, allocations: 1.079 MB / 0.8552 GB, free: 151.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002356/2.111, allocations: 44 kB / 0.8553 GB, free: 151.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00411/2.116, allocations: 191.8 kB / 0.8555 GB, free: 151.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007452/2.116, allocations: 153.7 kB / 0.8556 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004032/2.117, allocations: 71.98 kB / 0.8557 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01242/2.129, allocations: 4.48 MB / 0.86 GB, free: 146.8 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.41e-07/2.129, allocations: 0 / 0.86 GB, free: 146.8 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01157/2.141, allocations: 1.671 MB / 0.8617 GB, free: 145.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/2.142, allocations: 191.3 kB / 0.8619 GB, free: 145 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01438/2.156, allocations: 8.357 MB / 0.87 GB, free: 136.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/2.156, allocations: 0 / 0.87 GB, free: 136.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004725/2.161, allocations: 2.848 MB / 0.8728 GB, free: 133.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009699/2.171, allocations: 0.7552 MB / 0.8735 GB, free: 133 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/2.209, allocations: 19.67 MB / 0.8927 GB, free: 113.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007768/2.216, allocations: 5.023 MB / 0.8977 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/2.219, allocations: 463.4 kB / 0.8981 GB, free: 107.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.794e-06/2.219, allocations: 0 / 0.8981 GB, free: 107.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.5606/2.779, allocations: 186.4 MB / 1.08 GB, free: 155.8 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o] Error 1