Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001174/0.001174, allocations: 89.19 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.001337/0.001337, allocations: 183.9 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.585/1.585, allocations: 223.2 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.2383/0.2383, allocations: 44.21 MB / 337.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 9.656 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 61.93 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.4007/0.5472, allocations: 90.53 MB / 0.5495 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05415/0.6014, allocations: 18.23 MB / 0.5673 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02866/0.6301, allocations: 428.9 kB / 0.5677 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01847/0.6486, allocations: 4.813 MB / 0.5724 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05177/0.7004, allocations: 13.89 MB / 0.586 GB, free: 0 / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008464/0.7089, allocations: 1.018 MB / 0.587 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1279/0.8368, allocations: 91.64 MB / 0.6765 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01538/0.8523, allocations: 7.315 MB / 0.6836 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.8582, allocations: 2.012 MB / 0.6856 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00665/0.8649, allocations: 3.209 MB / 0.6887 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002028/0.867, allocations: 224 kB / 0.6889 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.8716, allocations: 1.127 MB / 0.69 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.005167/0.8768, allocations: 2.825 MB / 0.6928 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.8813, allocations: 1.298 MB / 0.6941 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01373/0.8951, allocations: 8.647 MB / 0.7025 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.8951, allocations: 3.938 kB / 0.7025 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.536e-06/0.8951, allocations: 0 / 0.7025 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005427/0.8957, allocations: 0 / 0.7025 GB, free: 8.453 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02069/0.9164, allocations: 6.426 MB / 0.7088 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.9165, allocations: 8.031 kB / 0.7088 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4563/1.373, allocations: 3.178 MB / 0.7119 GB, free: 115.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/1.387, allocations: 4.787 MB / 0.7166 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/1.387, allocations: 375.2 kB / 0.7169 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002754/1.39, allocations: 0.4932 MB / 0.7174 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/1.423, allocations: 14.85 MB / 0.7319 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002412/1.423, allocations: 72.84 kB / 0.732 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006938/1.423, allocations: 236.6 kB / 0.7322 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004304/1.428, allocations: 2.724 MB / 0.7349 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.457, allocations: 12.28 MB / 0.7469 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/1.534, allocations: 57.41 MB / 0.8029 GB, free: 63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/1.546, allocations: 4.645 MB / 0.8075 GB, free: 58.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/1.549, allocations: 2.903 MB / 0.8103 GB, free: 55.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/1.55, allocations: 39.81 kB / 0.8103 GB, free: 55.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.55, allocations: 53.44 kB / 0.8104 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=186): time 5.209e-06/1.55, allocations: 0 / 0.8104 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204): time 0.06618/1.616, allocations: 23.3 MB / 0.8331 GB, free: 31.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.616, allocations: 259.5 kB / 0.8334 GB, free: 31.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/1.629, allocations: 6.694 MB / 0.8399 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006211/1.63, allocations: 57.7 kB / 0.84 GB, free: 24.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003522/1.633, allocations: 4.607 MB / 0.8445 GB, free: 20.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.635, allocations: 0.8244 MB / 0.8453 GB, free: 19.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000476/1.635, allocations: 164 kB / 0.8454 GB, free: 19.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003585/1.636, allocations: 0.6491 MB / 0.8461 GB, free: 18.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/1.639, allocations: 2.874 MB / 0.8489 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/1.645, allocations: 7.84 MB / 0.8565 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/1.651, allocations: 4.61 MB / 0.861 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.678e-05/1.651, allocations: 48 kB / 0.8611 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.02491/1.676, allocations: 11.93 MB / 0.8727 GB, free: 5.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003236/1.676, allocations: 82.03 kB / 0.8728 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004475/1.677, allocations: 172 kB / 0.873 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00514/1.682, allocations: 1.819 MB / 0.8748 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006797/1.689, allocations: 1.862 MB / 0.8766 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.705, allocations: 11.73 MB / 0.888 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007831/1.713, allocations: 471.1 kB / 0.8885 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/1.715, allocations: 493.7 kB / 0.889 GB, free: 5.262 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (996): * Single equations (assignments): 990 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 13,(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008641/1.724, allocations: 3.062 MB / 0.8919 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.726, allocations: 0.5399 MB / 0.8925 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.737, allocations: 4.871 MB / 0.8972 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/1.737, allocations: 20 kB / 0.8972 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.713e-05/1.737, allocations: 8 kB / 0.8973 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.737, allocations: 11.97 kB / 0.8973 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02962/1.767, allocations: 11.26 MB / 0.9083 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/1.767, allocations: 4 kB / 0.9083 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.769, allocations: 321.5 kB / 0.9086 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/1.773, allocations: 1.497 MB / 0.91 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003639/1.773, allocations: 43.97 kB / 0.9101 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.787, allocations: 10.82 MB / 0.9206 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.787, allocations: 4.031 kB / 0.9206 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.802, allocations: 7.963 MB / 0.9284 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.805, allocations: 0.6306 MB / 0.929 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/1.806, allocations: 35.95 kB / 0.9291 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/1.81, allocations: 147.8 kB / 0.9292 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006036/1.81, allocations: 128.2 kB / 0.9293 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.811, allocations: 56 kB / 0.9294 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.01022/1.821, allocations: 4.244 MB / 0.9335 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/1.821, allocations: 0 / 0.9335 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01058/1.831, allocations: 1.498 MB / 0.935 GB, free: 5.938 MB / 0.6075 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 (153): * Single equations (assignments): 147 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(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.0009895/1.832, allocations: 169.7 kB / 0.9352 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.3327/2.165, allocations: 7.11 MB / 0.9421 GB, free: 255 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.165, allocations: 4.344 kB / 0.9421 GB, free: 255 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005528/2.171, allocations: 2.29 MB / 0.9443 GB, free: 254.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/2.177, allocations: 0.7412 MB / 0.9451 GB, free: 254.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/2.211, allocations: 16.89 MB / 0.9616 GB, free: 247.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006144/2.217, allocations: 4.627 MB / 0.9661 GB, free: 246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/2.219, allocations: 405.5 kB / 0.9665 GB, free: 246 MB / 0.6075 GB Notification: Performance of SimCode: time 3.436e-06/2.219, allocations: 0 / 0.9665 GB, free: 246 MB / 0.6075 GB Notification: Performance of Templates: time 0.1987/2.418, allocations: 168.7 MB / 1.131 GB, free: 87.52 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorquesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorquesCalcHelperMain.o] Error 1