Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.WorldForces2,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.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_3.2.3_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.0008445/0.0008446, allocations: 95.27 kB / 16.33 MB, free: 5.949 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.0009305/0.0009306, allocations: 186.6 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.666/1.666, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.4077/0.4077, allocations: 43.55 MB / 315.2 MB, free: 8.867 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.0004993/0.0004995, allocations: 16 kB / 384.6 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3332/0.4779, allocations: 91.63 MB / 0.5225 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05636/0.5343, allocations: 18.43 MB / 0.5405 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02967/0.564, allocations: 429.5 kB / 0.5409 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02083/0.5849, allocations: 4.842 MB / 0.5456 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05117/0.6361, allocations: 14.05 MB / 0.5594 GB, free: 9.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007372/0.6435, allocations: 1.018 MB / 0.5604 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.07254/0.7161, allocations: 51.2 MB / 0.6104 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.7284, allocations: 7.405 MB / 0.6176 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005333/0.7338, allocations: 2.137 MB / 0.6197 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/0.74, allocations: 3.443 MB / 0.623 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.7417, allocations: 244 kB / 0.6233 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.7452, allocations: 1.135 MB / 0.6244 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004043/0.7493, allocations: 2.984 MB / 0.6273 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.7518, allocations: 1.372 MB / 0.6286 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3631/1.115, allocations: 9.186 MB / 0.6376 GB, free: 57.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/1.115, allocations: 2.984 kB / 0.6376 GB, free: 57.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.078e-06/1.115, allocations: 0 / 0.6376 GB, free: 57.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006383/1.116, allocations: 0 / 0.6376 GB, free: 57.64 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02304/1.139, allocations: 6.69 MB / 0.6441 GB, free: 54.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.139, allocations: 9.625 kB / 0.6442 GB, free: 54.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/1.157, allocations: 3.247 MB / 0.6473 GB, free: 54.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/1.171, allocations: 5.051 MB / 0.6523 GB, free: 53.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/1.172, allocations: 394.3 kB / 0.6526 GB, free: 53.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/1.175, allocations: 0.5172 MB / 0.6531 GB, free: 53.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.213, allocations: 15.78 MB / 0.6685 GB, free: 50.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000304/1.214, allocations: 71.12 kB / 0.6686 GB, free: 50.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/1.215, allocations: 247.7 kB / 0.6688 GB, free: 50.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/1.22, allocations: 2.927 MB / 0.6717 GB, free: 50.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/1.249, allocations: 13.13 MB / 0.6845 GB, free: 49.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08193/1.331, allocations: 60.38 MB / 0.7435 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/1.346, allocations: 6.091 MB / 0.7494 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005155/1.351, allocations: 3.37 MB / 0.7527 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/1.352, allocations: 50.95 kB / 0.7528 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.352, allocations: 56.59 kB / 0.7528 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.43e-06/1.352, allocations: 0 / 0.7528 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=260): time 0.07667/1.428, allocations: 25.82 MB / 0.7781 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/1.429, allocations: 259.5 kB / 0.7783 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/1.443, allocations: 6.936 MB / 0.7851 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008865/1.444, allocations: 65.7 kB / 0.7851 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004039/1.448, allocations: 4.791 MB / 0.7898 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001793/1.45, allocations: 1.02 MB / 0.7908 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006799/1.451, allocations: 176 kB / 0.791 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004838/1.451, allocations: 0.678 MB / 0.7916 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.457, allocations: 3.281 MB / 0.7948 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/1.466, allocations: 8.45 MB / 0.8031 GB, free: 8.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00883/1.474, allocations: 5.131 MB / 0.8081 GB, free: 3.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/1.475, allocations: 56 kB / 0.8082 GB, free: 3.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02781/1.502, allocations: 13.01 MB / 0.8209 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/1.503, allocations: 84 kB / 0.821 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004512/1.503, allocations: 182.8 kB / 0.8211 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/1.509, allocations: 1.803 MB / 0.8229 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008738/1.517, allocations: 2.115 MB / 0.825 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/1.534, allocations: 11.54 MB / 0.8362 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009471/1.544, allocations: 0.4952 MB / 0.8367 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/1.546, allocations: 0.5117 MB / 0.8372 GB, free: 6.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (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 (1087): * Single equations (assignments): 1081 * 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,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009802/1.556, allocations: 3.213 MB / 0.8403 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/1.558, allocations: 0.5707 MB / 0.8409 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3086/1.867, allocations: 5.797 MB / 0.8466 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.329e-05/1.867, allocations: 29.28 kB / 0.8466 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.867, allocations: 6.125 kB / 0.8466 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/1.867, allocations: 17.06 kB / 0.8466 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03196/1.899, allocations: 12.91 MB / 0.8592 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.899, allocations: 0 / 0.8592 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.901, allocations: 0.5084 MB / 0.8597 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003924/1.905, allocations: 1.479 MB / 0.8612 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/1.906, allocations: 43.97 kB / 0.8612 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/1.918, allocations: 10.61 MB / 0.8716 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.918, allocations: 8.453 kB / 0.8716 GB, free: 215.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/1.934, allocations: 9.417 MB / 0.8808 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003545/1.938, allocations: 1.062 MB / 0.8818 GB, free: 212.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.939, allocations: 44.62 kB / 0.8818 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.941, allocations: 182.4 kB / 0.882 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/1.942, allocations: 153 kB / 0.8822 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.942, allocations: 63.81 kB / 0.8822 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00888/1.951, allocations: 4.412 MB / 0.8865 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.951, allocations: 0 / 0.8865 GB, free: 210.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0128/1.964, allocations: 1.63 MB / 0.8881 GB, free: 210.5 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,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 (215): * Single equations (assignments): 209 * 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.0007136/1.964, allocations: 180.6 kB / 0.8883 GB, free: 210.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.977, allocations: 8.056 MB / 0.8962 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.977, allocations: 3.594 kB / 0.8962 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003837/1.981, allocations: 2.726 MB / 0.8988 GB, free: 205.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007401/1.988, allocations: 0.7482 MB / 0.8996 GB, free: 205.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/2.021, allocations: 18.27 MB / 0.9174 GB, free: 190.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005547/2.027, allocations: 4.857 MB / 0.9221 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/2.029, allocations: 447.4 kB / 0.9226 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/2.029, allocations: 0 / 0.9226 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.4764/2.505, allocations: 180.5 MB / 1.099 GB, free: 219.3 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2CalcHelperMain.o] Error 1