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.001384/0.001384, allocations: 94.78 kB / 16.67 MB, free: 6.105 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.001814/0.001813, allocations: 185 kB / 17.58 MB, free: 5.816 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.928/1.928, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2747/0.2747, allocations: 43.58 MB / 315.6 MB, free: 436 kB / 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.0005982/0.0005985, allocations: 14.59 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1546, allocations: 58.87 MB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1072/0.2618, allocations: 98.59 MB / 0.53 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4499/0.7118, allocations: 19.17 MB / 0.5487 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02839/0.7402, allocations: 431.3 kB / 0.5491 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.7439, allocations: 0.6401 MB / 0.5497 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.7544, allocations: 2.624 MB / 0.5523 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.758, allocations: 1.033 MB / 0.5533 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.7776, allocations: 11.21 MB / 0.5642 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01689/0.7945, allocations: 8.25 MB / 0.5723 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007932/0.8025, allocations: 1.963 MB / 0.5742 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008041/0.8106, allocations: 3.474 MB / 0.5776 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.813, allocations: 242.8 kB / 0.5778 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.8182, allocations: 1.323 MB / 0.5791 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006124/0.8243, allocations: 3.037 MB / 0.5821 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009771/0.8341, allocations: 3.341 MB / 0.5854 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.8519, allocations: 9.199 MB / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.852, allocations: 0 / 0.5943 GB, free: 11.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.852, allocations: 3.938 kB / 0.5944 GB, free: 11.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000732/0.8527, allocations: 0 / 0.5944 GB, free: 11.54 MB / 446.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/0.8758, allocations: 6.605 MB / 0.6008 GB, free: 4.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.8759, allocations: 12.03 kB / 0.6008 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/0.8946, allocations: 3.247 MB / 0.604 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.9098, allocations: 5.141 MB / 0.609 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006658/0.9106, allocations: 392.7 kB / 0.6094 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003339/0.9139, allocations: 0.5237 MB / 0.6099 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04281/0.9568, allocations: 15.81 MB / 0.6253 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000691/0.9575, allocations: 75.31 kB / 0.6254 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003123/0.9607, allocations: 244 kB / 0.6256 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006214/0.9669, allocations: 2.924 MB / 0.6285 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03315/1, allocations: 13.2 MB / 0.6414 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.115, allocations: 60.42 MB / 0.7004 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/1.132, allocations: 6.109 MB / 0.7064 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007328/1.14, allocations: 3.373 MB / 0.7096 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/1.14, allocations: 59.42 kB / 0.7097 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/1.14, allocations: 64.05 kB / 0.7098 GB, free: 3.164 MB / 0.545 GB Notification: Performance of pre-optimization done (n=242): time 8.206e-06/1.14, allocations: 0 / 0.7098 GB, free: 3.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.08604/1.226, allocations: 25.83 MB / 0.735 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/1.227, allocations: 261.1 kB / 0.7352 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01889/1.246, allocations: 6.985 MB / 0.7421 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009993/1.247, allocations: 61.7 kB / 0.7421 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3887/1.635, allocations: 4.792 MB / 0.7468 GB, free: 245.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/1.638, allocations: 1.007 MB / 0.7478 GB, free: 245 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001921/1.64, allocations: 0.7589 MB / 0.7485 GB, free: 245 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/1.64, allocations: 301.6 kB / 0.7488 GB, free: 244.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00792/1.648, allocations: 3.321 MB / 0.7521 GB, free: 244.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/1.659, allocations: 8.496 MB / 0.7604 GB, free: 237.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/1.678, allocations: 12.65 MB / 0.7727 GB, free: 227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003889/1.678, allocations: 51 kB / 0.7728 GB, free: 227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03031/1.709, allocations: 13.09 MB / 0.7855 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/1.709, allocations: 83.91 kB / 0.7856 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003822/1.71, allocations: 185.2 kB / 0.7858 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/1.715, allocations: 1.77 MB / 0.7875 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00839/1.723, allocations: 2.112 MB / 0.7896 GB, free: 221.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.737, allocations: 11.56 MB / 0.8009 GB, free: 210.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/1.748, allocations: 0.4937 MB / 0.8014 GB, free: 210 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/1.75, allocations: 0.5153 MB / 0.8019 GB, free: 209.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009381/1.76, allocations: 3.218 MB / 0.805 GB, free: 206.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/1.762, allocations: 0.5746 MB / 0.8056 GB, free: 205.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.775, allocations: 5.807 MB / 0.8112 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/1.775, allocations: 28 kB / 0.8113 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.985e-05/1.775, allocations: 11.98 kB / 0.8113 GB, free: 199.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.201e-05/1.775, allocations: 9.609 kB / 0.8113 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/1.806, allocations: 12.93 MB / 0.8239 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.807, allocations: 4 kB / 0.8239 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002689/1.809, allocations: 0.507 MB / 0.8244 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004033/1.813, allocations: 1.479 MB / 0.8258 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004834/1.814, allocations: 43.94 kB / 0.8259 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.825, allocations: 10.62 MB / 0.8363 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.825, allocations: 4.031 kB / 0.8363 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/1.842, allocations: 9.443 MB / 0.8455 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00429/1.846, allocations: 1.06 MB / 0.8465 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002687/1.849, allocations: 55.92 kB / 0.8466 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004861/1.854, allocations: 179.8 kB / 0.8467 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008986/1.855, allocations: 145.6 kB / 0.8469 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004231/1.855, allocations: 68 kB / 0.847 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01133/1.866, allocations: 4.451 MB / 0.8513 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.82e-07/1.866, allocations: 0 / 0.8513 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01199/1.878, allocations: 1.635 MB / 0.8529 GB, free: 156.7 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/1.88, allocations: 180.4 kB / 0.8531 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.895, allocations: 8.095 MB / 0.861 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.895, allocations: 0 / 0.861 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004615/1.9, allocations: 2.741 MB / 0.8637 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009613/1.909, allocations: 0.7522 MB / 0.8644 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/1.947, allocations: 19 MB / 0.8829 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006835/1.954, allocations: 4.853 MB / 0.8877 GB, free: 121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/1.957, allocations: 451.4 kB / 0.8881 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/1.957, allocations: 0 / 0.8881 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.6196/2.576, allocations: 180 MB / 1.064 GB, free: 177.5 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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