Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 91.22 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.001257/0.001257, allocations: 182.6 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.543/1.543, allocations: 223.3 MB / 242.5 MB, free: 356 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.2667/0.2667, allocations: 44.22 MB / 337.9 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8.531 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4278/0.5715, allocations: 90.52 MB / 0.5495 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05563/0.6272, allocations: 18.25 MB / 0.5673 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02656/0.6539, allocations: 425.9 kB / 0.5677 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01754/0.6714, allocations: 4.821 MB / 0.5724 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04544/0.7169, allocations: 13.89 MB / 0.586 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.7243, allocations: 1.026 MB / 0.587 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1221/0.8465, allocations: 91.6 MB / 0.6765 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.8608, allocations: 7.274 MB / 0.6836 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.866, allocations: 2.004 MB / 0.6855 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.8727, allocations: 3.205 MB / 0.6887 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.8746, allocations: 220 kB / 0.6889 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004356/0.8789, allocations: 1.124 MB / 0.69 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004978/0.8839, allocations: 2.821 MB / 0.6927 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.8874, allocations: 1.291 MB / 0.694 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.8999, allocations: 8.627 MB / 0.7024 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.9, allocations: 4 kB / 0.7024 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9, allocations: 0 / 0.7024 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006571/0.9007, allocations: 0 / 0.7024 GB, free: 8.559 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01888/0.9196, allocations: 6.384 MB / 0.7087 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9196, allocations: 8.031 kB / 0.7087 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.473/1.393, allocations: 3.17 MB / 0.7118 GB, free: 116 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.41, allocations: 4.785 MB / 0.7164 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/1.411, allocations: 378.2 kB / 0.7168 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003121/1.414, allocations: 497 kB / 0.7173 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03638/1.45, allocations: 14.8 MB / 0.7317 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002946/1.45, allocations: 75.03 kB / 0.7318 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007874/1.451, allocations: 232.9 kB / 0.732 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004779/1.456, allocations: 2.725 MB / 0.7347 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/1.485, allocations: 12.22 MB / 0.7466 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06903/1.554, allocations: 57.19 MB / 0.8025 GB, free: 63.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/1.565, allocations: 4.68 MB / 0.807 GB, free: 58.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/1.568, allocations: 2.935 MB / 0.8099 GB, free: 55.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.568, allocations: 40.12 kB / 0.8099 GB, free: 55.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.568, allocations: 56.97 kB / 0.81 GB, free: 55.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 5.41e-06/1.568, allocations: 0 / 0.81 GB, free: 55.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.0565/1.625, allocations: 23.37 MB / 0.8328 GB, free: 32.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.625, allocations: 259.1 kB / 0.8331 GB, free: 31.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.635, allocations: 6.74 MB / 0.8396 GB, free: 25.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006563/1.636, allocations: 57.69 kB / 0.8397 GB, free: 25.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002974/1.639, allocations: 4.595 MB / 0.8442 GB, free: 20.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.64, allocations: 0.835 MB / 0.845 GB, free: 19.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/1.641, allocations: 160 kB / 0.8451 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003548/1.641, allocations: 0.6531 MB / 0.8458 GB, free: 18.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003961/1.645, allocations: 2.868 MB / 0.8486 GB, free: 16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007522/1.653, allocations: 7.823 MB / 0.8562 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006943/1.66, allocations: 4.619 MB / 0.8607 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.66, allocations: 52 kB / 0.8608 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02867/1.688, allocations: 11.9 MB / 0.8724 GB, free: 6.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/1.689, allocations: 83.95 kB / 0.8725 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004713/1.689, allocations: 177.9 kB / 0.8727 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/1.694, allocations: 1.786 MB / 0.8744 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/1.702, allocations: 1.921 MB / 0.8763 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/1.718, allocations: 11.54 MB / 0.8875 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007849/1.726, allocations: 459.2 kB / 0.888 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.728, allocations: 492 kB / 0.8885 GB, free: 5.895 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 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1003): * Single equations (assignments): 997 * 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%) 12,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008433/1.736, allocations: 3.048 MB / 0.8914 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.738, allocations: 0.5476 MB / 0.892 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.749, allocations: 4.844 MB / 0.8967 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/1.749, allocations: 22.81 kB / 0.8967 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/1.749, allocations: 8 kB / 0.8967 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/1.749, allocations: 11.97 kB / 0.8967 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.775, allocations: 11.22 MB / 0.9077 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/1.776, allocations: 0 / 0.9077 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.777, allocations: 397 kB / 0.9081 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/1.781, allocations: 1.472 MB / 0.9095 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/1.782, allocations: 39.98 kB / 0.9096 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/1.795, allocations: 10.61 MB / 0.9199 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.795, allocations: 0 / 0.9199 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.808, allocations: 7.929 MB / 0.9277 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.81, allocations: 0.6344 MB / 0.9283 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/1.811, allocations: 32 kB / 0.9283 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.813, allocations: 143.8 kB / 0.9284 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/1.814, allocations: 119.9 kB / 0.9286 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.814, allocations: 52 kB / 0.9286 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009208/1.823, allocations: 4.282 MB / 0.9328 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.61e-07/1.823, allocations: 0 / 0.9328 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0124/1.835, allocations: 1.493 MB / 0.9342 GB, free: 6.809 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,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 (160): * Single equations (assignments): 154 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/1.837, allocations: 169.2 kB / 0.9344 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01612/1.853, allocations: 7.046 MB / 0.9413 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.853, allocations: 0.6562 kB / 0.9413 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.3098/2.163, allocations: 2.255 MB / 0.9435 GB, free: 255.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008494/2.171, allocations: 0.7466 MB / 0.9442 GB, free: 255.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0389/2.21, allocations: 16.82 MB / 0.9606 GB, free: 249.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007058/2.217, allocations: 4.6 MB / 0.9651 GB, free: 247.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.219, allocations: 409.3 kB / 0.9655 GB, free: 247.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.064e-06/2.219, allocations: 0 / 0.9655 GB, free: 247.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.2342/2.453, allocations: 168.3 MB / 1.13 GB, free: 89.03 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.o] Error 1