Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.000951, allocations: 88.42 kB / 17.63 MB, free: 5.719 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.001048/0.001048, allocations: 186.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 242.5 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2493/0.2493, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8.781 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4501/0.5981, allocations: 82.96 MB / 0.5421 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05734/0.6555, allocations: 16.89 MB / 0.5586 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03083/0.6864, allocations: 384.9 kB / 0.559 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01931/0.7058, allocations: 4.413 MB / 0.5633 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04673/0.7526, allocations: 12.71 MB / 0.5757 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007985/0.7606, allocations: 0.9049 MB / 0.5766 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08865/0.8493, allocations: 62.54 MB / 0.6377 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/0.8644, allocations: 6.835 MB / 0.6444 GB, free: 4.094 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/0.8706, allocations: 1.755 MB / 0.6461 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006894/0.8775, allocations: 2.749 MB / 0.6488 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.8793, allocations: 208 kB / 0.649 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.8833, allocations: 1.108 MB / 0.65 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004333/0.8877, allocations: 2.482 MB / 0.6525 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.8905, allocations: 1.185 MB / 0.6536 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.9024, allocations: 7.938 MB / 0.6614 GB, free: 2.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.9025, allocations: 0 / 0.6614 GB, free: 2.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.011e-06/0.9026, allocations: 0 / 0.6614 GB, free: 2.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005888/0.9031, allocations: 0 / 0.6614 GB, free: 2.621 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01703/0.9202, allocations: 5.835 MB / 0.6671 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.9203, allocations: 12.03 kB / 0.6671 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.9323, allocations: 2.784 MB / 0.6698 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.9423, allocations: 3.918 MB / 0.6736 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.9427, allocations: 349 kB / 0.674 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.9447, allocations: 475.6 kB / 0.6744 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03306/0.9778, allocations: 14.72 MB / 0.6888 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/0.9781, allocations: 59.42 kB / 0.6889 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007371/0.9789, allocations: 219.8 kB / 0.6891 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004854/0.9837, allocations: 2.793 MB / 0.6918 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02809/1.012, allocations: 12.59 MB / 0.7041 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4091/1.421, allocations: 55.18 MB / 0.758 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.437, allocations: 6.53 MB / 0.7644 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003992/1.441, allocations: 3.591 MB / 0.7679 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/1.441, allocations: 39.34 kB / 0.7679 GB, free: 149.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.441, allocations: 62.84 kB / 0.768 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 5.871e-06/1.441, allocations: 0 / 0.768 GB, free: 149.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.07428/1.515, allocations: 31.8 MB / 0.799 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/1.515, allocations: 213.9 kB / 0.7992 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/1.524, allocations: 6.043 MB / 0.8051 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000923/1.525, allocations: 61.7 kB / 0.8052 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002816/1.528, allocations: 4.157 MB / 0.8092 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.529, allocations: 0.9973 MB / 0.8102 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.53, allocations: 156 kB / 0.8104 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003486/1.53, allocations: 0.6367 MB / 0.811 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/1.535, allocations: 3.459 MB / 0.8144 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007666/1.542, allocations: 7.946 MB / 0.8221 GB, free: 92.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009077/1.552, allocations: 5.116 MB / 0.8271 GB, free: 87.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002501/1.552, allocations: 44 kB / 0.8272 GB, free: 87.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.02758/1.579, allocations: 13.24 MB / 0.8401 GB, free: 73.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000293/1.58, allocations: 72 kB / 0.8402 GB, free: 73.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000422/1.58, allocations: 158.2 kB / 0.8403 GB, free: 73.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005844/1.586, allocations: 2.284 MB / 0.8425 GB, free: 71.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00712/1.593, allocations: 1.825 MB / 0.8443 GB, free: 69.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/1.612, allocations: 13.48 MB / 0.8575 GB, free: 55.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/1.62, allocations: 496.5 kB / 0.858 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/1.623, allocations: 463.9 kB / 0.8584 GB, free: 54.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (952): * Single equations (assignments): 947 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00803/1.631, allocations: 2.877 MB / 0.8612 GB, free: 51.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/1.633, allocations: 0.509 MB / 0.8617 GB, free: 51.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.647, allocations: 7.124 MB / 0.8687 GB, free: 44.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-05/1.647, allocations: 28 kB / 0.8687 GB, free: 44.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-05/1.647, allocations: 8 kB / 0.8687 GB, free: 44.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/1.647, allocations: 15.91 kB / 0.8687 GB, free: 44.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/1.678, allocations: 14.78 MB / 0.8831 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/1.678, allocations: 0 / 0.8831 GB, free: 29.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/1.681, allocations: 443.4 kB / 0.8836 GB, free: 28.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004794/1.686, allocations: 2.047 MB / 0.8856 GB, free: 26.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004973/1.686, allocations: 43.95 kB / 0.8856 GB, free: 26.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01562/1.702, allocations: 12.72 MB / 0.898 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.702, allocations: 4 kB / 0.898 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.72, allocations: 11.27 MB / 0.909 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/1.722, allocations: 0.592 MB / 0.9096 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/1.724, allocations: 40 kB / 0.9097 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/1.728, allocations: 229.1 kB / 0.9099 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007731/1.729, allocations: 161.7 kB / 0.91 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004165/1.729, allocations: 64 kB / 0.9101 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.3858/2.115, allocations: 3.826 MB / 0.9138 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.61e-07/2.115, allocations: 4.188 kB / 0.9138 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0115/2.126, allocations: 1.547 MB / 0.9153 GB, free: 176.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (202): * Single equations (assignments): 197 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/2.127, allocations: 178.5 kB / 0.9155 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01847/2.146, allocations: 8.408 MB / 0.9237 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/2.146, allocations: 7.172 kB / 0.9237 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007162/2.153, allocations: 3.476 MB / 0.9271 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/2.159, allocations: 0.6691 MB / 0.9278 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/2.189, allocations: 17.14 MB / 0.9445 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006432/2.195, allocations: 4.397 MB / 0.9488 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00215/2.197, allocations: 398.8 kB / 0.9492 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.144e-06/2.198, allocations: 0.7656 kB / 0.9492 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1743/2.372, allocations: 137.5 MB / 1.083 GB, free: 26.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o] Error 1