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.0008639/0.0008639, allocations: 92 kB / 16.33 MB, free: 5.945 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.001051/0.001051, allocations: 182.1 kB / 17.22 MB, free: 5.883 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.665/1.665, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3945/0.3945, allocations: 43.55 MB / 315.2 MB, free: 8.844 MB / 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.0005443/0.0005445, allocations: 16 kB / 384.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1421, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3689/0.511, allocations: 92.25 MB / 0.5231 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05822/0.5692, allocations: 18.51 MB / 0.5412 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02709/0.5964, allocations: 431.6 kB / 0.5416 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01959/0.616, allocations: 4.858 MB / 0.5463 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04871/0.6647, allocations: 14.12 MB / 0.5601 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007669/0.6724, allocations: 1.016 MB / 0.5611 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.066/0.7385, allocations: 51.41 MB / 0.6113 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.753, allocations: 7.49 MB / 0.6186 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00657/0.7596, allocations: 2.199 MB / 0.6208 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007797/0.7675, allocations: 3.552 MB / 0.6243 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002489/0.77, allocations: 252 kB / 0.6245 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005271/0.7753, allocations: 1.135 MB / 0.6256 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006611/0.782, allocations: 3.07 MB / 0.6286 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004283/0.7863, allocations: 1.419 MB / 0.63 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3425/1.129, allocations: 9.525 MB / 0.6393 GB, free: 57.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.129, allocations: 2.188 kB / 0.6393 GB, free: 57.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/1.129, allocations: 0 / 0.6393 GB, free: 57.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005398/1.129, allocations: 0 / 0.6393 GB, free: 57.66 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02187/1.151, allocations: 6.911 MB / 0.646 GB, free: 54.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.151, allocations: 12.91 kB / 0.646 GB, free: 54.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/1.169, allocations: 3.275 MB / 0.6492 GB, free: 54.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/1.185, allocations: 5.132 MB / 0.6543 GB, free: 53.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006499/1.186, allocations: 406 kB / 0.6546 GB, free: 53.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003353/1.189, allocations: 0.5321 MB / 0.6552 GB, free: 53.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04117/1.231, allocations: 16.38 MB / 0.6712 GB, free: 50.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/1.231, allocations: 75.41 kB / 0.6712 GB, free: 50.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009802/1.232, allocations: 256.8 kB / 0.6715 GB, free: 50.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004777/1.237, allocations: 3.079 MB / 0.6745 GB, free: 50.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/1.266, allocations: 13.62 MB / 0.6878 GB, free: 48.11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0857/1.352, allocations: 62.44 MB / 0.7488 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.366, allocations: 6.101 MB / 0.7547 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/1.372, allocations: 3.411 MB / 0.758 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/1.372, allocations: 43.66 kB / 0.7581 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.631e-05/1.372, allocations: 73.47 kB / 0.7582 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 8.376e-06/1.372, allocations: 0 / 0.7582 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.07853/1.451, allocations: 26.28 MB / 0.7838 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/1.451, allocations: 264 kB / 0.7841 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01776/1.469, allocations: 6.994 MB / 0.7909 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.47, allocations: 68.59 kB / 0.791 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006394/1.476, allocations: 4.973 MB / 0.7958 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002403/1.479, allocations: 1.035 MB / 0.7968 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/1.481, allocations: 180 kB / 0.797 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.001607/1.482, allocations: 0.6824 MB / 0.7977 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008972/1.491, allocations: 3.38 MB / 0.801 GB, free: 13.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01514/1.506, allocations: 8.69 MB / 0.8095 GB, free: 2.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.518, allocations: 5.271 MB / 0.8146 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000291/1.519, allocations: 56 kB / 0.8147 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03501/1.554, allocations: 13.34 MB / 0.8277 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003124/1.554, allocations: 88.22 kB / 0.8278 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004501/1.554, allocations: 188 kB / 0.828 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005394/1.56, allocations: 1.815 MB / 0.8297 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008336/1.568, allocations: 2.091 MB / 0.8318 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.585, allocations: 11.76 MB / 0.8433 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008722/1.593, allocations: 0.5072 MB / 0.8437 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/1.596, allocations: 0.5366 MB / 0.8443 GB, free: 236 kB / 0.5762 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 (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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3098/1.906, allocations: 3.318 MB / 0.8475 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/1.907, allocations: 0.5856 MB / 0.8481 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.918, allocations: 5.99 MB / 0.8539 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/1.918, allocations: 29.75 kB / 0.854 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.169e-05/1.919, allocations: 7.047 kB / 0.854 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/1.919, allocations: 14.7 kB / 0.854 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03672/1.955, allocations: 13.36 MB / 0.867 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.684e-05/1.955, allocations: 1.125 kB / 0.867 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.958, allocations: 457.4 kB / 0.8675 GB, free: 218.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004569/1.963, allocations: 1.497 MB / 0.8689 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005315/1.963, allocations: 46.61 kB / 0.869 GB, free: 218.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.978, allocations: 10.84 MB / 0.8796 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.978, allocations: 8.562 kB / 0.8796 GB, free: 211.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/1.999, allocations: 9.724 MB / 0.8891 GB, free: 208.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004825/2.004, allocations: 1.085 MB / 0.8901 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002879/2.007, allocations: 45.02 kB / 0.8902 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/2.011, allocations: 192.9 kB / 0.8903 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/2.012, allocations: 171.6 kB / 0.8905 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004171/2.012, allocations: 67.09 kB / 0.8906 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01198/2.024, allocations: 4.439 MB / 0.8949 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/2.024, allocations: 0 / 0.8949 GB, free: 206.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0118/2.036, allocations: 1.671 MB / 0.8965 GB, free: 206 MB / 0.5762 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 (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.001135/2.037, allocations: 190 kB / 0.8967 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.052, allocations: 8.302 MB / 0.9048 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.052, allocations: 3.219 kB / 0.9048 GB, free: 202.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004696/2.057, allocations: 2.85 MB / 0.9076 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008417/2.065, allocations: 0.7545 MB / 0.9083 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03753/2.103, allocations: 18.89 MB / 0.9268 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006575/2.11, allocations: 5.023 MB / 0.9317 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/2.112, allocations: 459.4 kB / 0.9321 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.653e-06/2.112, allocations: 4 kB / 0.9321 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.5034/2.615, allocations: 186.9 MB / 1.115 GB, free: 211.4 MB / 0.5762 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++ 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_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