Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 88.03 kB / 17.63 MB, free: 6.133 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.001178/0.001178, allocations: 184.1 kB / 18.52 MB, free: 5.297 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.618/1.618, allocations: 223.3 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 44.22 MB / 337.9 MB, free: 2.562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 61.94 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4433/0.5983, allocations: 65.66 MB / 0.5252 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04359/0.6419, allocations: 13.73 MB / 0.5387 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02042/0.6624, allocations: 312.1 kB / 0.539 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01774/0.6801, allocations: 3.472 MB / 0.5423 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03622/0.7164, allocations: 10.2 MB / 0.5523 GB, free: 56 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.7221, allocations: 0.7922 MB / 0.5531 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08504/0.8071, allocations: 61.93 MB / 0.6136 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.8176, allocations: 5.631 MB / 0.6191 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.8219, allocations: 1.607 MB / 0.6206 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.8273, allocations: 2.461 MB / 0.623 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.8287, allocations: 172 kB / 0.6232 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.8325, allocations: 1.088 MB / 0.6243 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003868/0.8364, allocations: 2.193 MB / 0.6264 GB, free: 6.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.8391, allocations: 1.037 MB / 0.6274 GB, free: 5.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.8493, allocations: 6.831 MB / 0.6341 GB, free: 14.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.8494, allocations: 4 kB / 0.6341 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.8494, allocations: 0 / 0.6341 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004154/0.8498, allocations: 0 / 0.6341 GB, free: 14.66 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01529/0.8651, allocations: 5.128 MB / 0.6391 GB, free: 9.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.8652, allocations: 8.562 kB / 0.6391 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.877, allocations: 2.652 MB / 0.6417 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.887, allocations: 3.7 MB / 0.6453 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.8875, allocations: 287.3 kB / 0.6456 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/0.8894, allocations: 387.6 kB / 0.646 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02819/0.9176, allocations: 11.97 MB / 0.6577 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003867/0.918, allocations: 59.47 kB / 0.6577 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/0.9199, allocations: 187.8 kB / 0.6579 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004232/0.9241, allocations: 2.26 MB / 0.6601 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.9477, allocations: 9.916 MB / 0.6698 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4637/1.411, allocations: 46.81 MB / 0.7155 GB, free: 164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/1.423, allocations: 3.906 MB / 0.7193 GB, free: 163.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/1.428, allocations: 2.141 MB / 0.7214 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01554/1.444, allocations: 5.893 MB / 0.7272 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.754e-05/1.444, allocations: 59.69 kB / 0.7272 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 7.785e-06/1.444, allocations: 0 / 0.7272 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.05006/1.494, allocations: 17.45 MB / 0.7443 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.325e-05/1.494, allocations: 221.6 kB / 0.7445 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.504, allocations: 5.655 MB / 0.75 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004763/1.505, allocations: 46.91 kB / 0.75 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.507, allocations: 3.794 MB / 0.7537 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.508, allocations: 0.663 MB / 0.7544 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/1.509, allocations: 136 kB / 0.7545 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003284/1.509, allocations: 0.5994 MB / 0.7551 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/1.512, allocations: 2.27 MB / 0.7573 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.518, allocations: 6.574 MB / 0.7637 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005035/1.523, allocations: 3.773 MB / 0.7674 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.639e-05/1.523, allocations: 44 kB / 0.7675 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01717/1.54, allocations: 9.574 MB / 0.7768 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/1.54, allocations: 72 kB / 0.7769 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/1.54, allocations: 152 kB / 0.777 GB, free: 122.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/1.543, allocations: 1.261 MB / 0.7783 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/1.548, allocations: 1.567 MB / 0.7798 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/1.557, allocations: 7.903 MB / 0.7875 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006718/1.564, allocations: 364.9 kB / 0.7879 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.565, allocations: 431.6 kB / 0.7883 GB, free: 110.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (842): * Single equations (assignments): 835 * Array equations: 5 * 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%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005663/1.571, allocations: 2.517 MB / 0.7907 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.572, allocations: 455.2 kB / 0.7912 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006726/1.579, allocations: 3.396 MB / 0.7945 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.622e-05/1.579, allocations: 20 kB / 0.7945 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/1.579, allocations: 8 kB / 0.7945 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/1.579, allocations: 7.969 kB / 0.7945 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/1.598, allocations: 8.312 MB / 0.8026 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.598, allocations: 0 / 0.8026 GB, free: 95.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.6, allocations: 259.9 kB / 0.8029 GB, free: 95.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/1.602, allocations: 1.006 MB / 0.8039 GB, free: 94.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/1.602, allocations: 28 kB / 0.8039 GB, free: 94.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007756/1.61, allocations: 7.22 MB / 0.8109 GB, free: 87.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.61, allocations: 7.938 kB / 0.8109 GB, free: 87.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008787/1.619, allocations: 5.848 MB / 0.8167 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/1.622, allocations: 0.5302 MB / 0.8172 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.623, allocations: 33 kB / 0.8172 GB, free: 80.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/1.626, allocations: 93.94 kB / 0.8173 GB, free: 80.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/1.626, allocations: 101.9 kB / 0.8174 GB, free: 80.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.627, allocations: 44 kB / 0.8174 GB, free: 80.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007613/1.634, allocations: 3.597 MB / 0.8209 GB, free: 76.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.42e-07/1.634, allocations: 0 / 0.8209 GB, free: 76.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008813/1.643, allocations: 1.187 MB / 0.8221 GB, free: 75.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007791/1.644, allocations: 168.2 kB / 0.8223 GB, free: 75.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.654, allocations: 5.535 MB / 0.8277 GB, free: 69.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.654, allocations: 4 kB / 0.8277 GB, free: 69.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.657, allocations: 1.609 MB / 0.8292 GB, free: 68.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007068/1.664, allocations: 0.5859 MB / 0.8298 GB, free: 67.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/1.69, allocations: 13.38 MB / 0.8429 GB, free: 54.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006307/1.697, allocations: 3.834 MB / 0.8466 GB, free: 50.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.698, allocations: 347.4 kB / 0.847 GB, free: 50.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.493e-06/1.698, allocations: 4 kB / 0.847 GB, free: 50.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.4749/2.173, allocations: 113.6 MB / 0.9579 GB, free: 197.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorquesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.o] Error 1