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.001198/0.001198, allocations: 103.1 kB / 16.52 MB, free: 6.676 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.001163/0.001163, allocations: 199.5 kB / 17.44 MB, free: 6.059 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.727/1.727, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2411/0.2411, allocations: 43.52 MB / 314.1 MB, free: 0.7539 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.001607/0.001607, allocations: 65.25 kB / 382.7 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1633, allocations: 57.8 MB / 440.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.1228/0.2861, allocations: 100.9 MB / 0.5287 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4472/0.7333, allocations: 19.25 MB / 0.5475 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03337/0.7668, allocations: 434 kB / 0.5479 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.7794, allocations: 5.069 MB / 0.5528 GB, free: 456 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.7917, allocations: 2.619 MB / 0.5554 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.7971, allocations: 1.156 MB / 0.5565 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02164/0.8188, allocations: 11.21 MB / 0.5675 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.8355, allocations: 6.047 MB / 0.5734 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.8459, allocations: 2.376 MB / 0.5757 GB, free: 8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.8577, allocations: 4.001 MB / 0.5796 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003698/0.8615, allocations: 412.3 kB / 0.58 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006509/0.868, allocations: 1.494 MB / 0.5815 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007197/0.8753, allocations: 3.282 MB / 0.5847 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01176/0.8871, allocations: 3.636 MB / 0.5882 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01758/0.9047, allocations: 9.403 MB / 0.5974 GB, free: 6.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.9048, allocations: 0 / 0.5974 GB, free: 6.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.9048, allocations: 0 / 0.5974 GB, free: 6.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007585/0.9056, allocations: 0 / 0.5974 GB, free: 6.25 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.03255/0.9382, allocations: 8.066 MB / 0.6053 GB, free: 14.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.9382, allocations: 11.97 kB / 0.6053 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.9549, allocations: 3.181 MB / 0.6084 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/0.971, allocations: 5.147 MB / 0.6134 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006981/0.9717, allocations: 392.4 kB / 0.6138 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003589/0.9754, allocations: 0.5234 MB / 0.6143 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04068/1.016, allocations: 15.77 MB / 0.6297 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/1.016, allocations: 79.3 kB / 0.6298 GB, free: 4.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008251/1.017, allocations: 247.4 kB / 0.63 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005671/1.023, allocations: 2.929 MB / 0.6329 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03272/1.056, allocations: 13.16 MB / 0.6457 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1212/1.177, allocations: 60.38 MB / 0.7047 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/1.194, allocations: 6.095 MB / 0.7106 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005799/1.2, allocations: 3.383 MB / 0.714 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.2, allocations: 47.47 kB / 0.714 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/1.2, allocations: 60.12 kB / 0.7141 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=242): time 1.212e-05/1.2, allocations: 0 / 0.7141 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=260): time 0.0878/1.288, allocations: 25.88 MB / 0.7393 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002506/1.288, allocations: 257.2 kB / 0.7396 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6806/1.969, allocations: 6.964 MB / 0.7464 GB, free: 247.1 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0009078/1.97, allocations: 68.81 kB / 0.7464 GB, free: 247.1 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005375/1.975, allocations: 4.798 MB / 0.7511 GB, free: 244.7 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.978, allocations: 1.011 MB / 0.7521 GB, free: 244 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003865/1.981, allocations: 1.802 MB / 0.7539 GB, free: 243.1 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.982, allocations: 305.2 kB / 0.7542 GB, free: 242.8 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006508/1.988, allocations: 3.316 MB / 0.7574 GB, free: 241.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/1.998, allocations: 8.488 MB / 0.7657 GB, free: 233.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/2.014, allocations: 12.66 MB / 0.778 GB, free: 223.4 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003817/2.014, allocations: 48.25 kB / 0.7781 GB, free: 223.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03155/2.046, allocations: 13.08 MB / 0.7909 GB, free: 216.7 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/2.046, allocations: 84 kB / 0.7909 GB, free: 216.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006099/2.047, allocations: 180.9 kB / 0.7911 GB, free: 216.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005/2.052, allocations: 1.78 MB / 0.7929 GB, free: 215.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/2.06, allocations: 2.113 MB / 0.7949 GB, free: 213.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/2.074, allocations: 11.54 MB / 0.8062 GB, free: 201.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/2.085, allocations: 499.2 kB / 0.8067 GB, free: 201.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002649/2.088, allocations: 0.5154 MB / 0.8072 GB, free: 200.5 MB / 0.5763 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.01114/2.099, allocations: 3.212 MB / 0.8103 GB, free: 197.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003344/2.102, allocations: 0.5746 MB / 0.8109 GB, free: 196.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01514/2.118, allocations: 5.804 MB / 0.8165 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/2.118, allocations: 30.3 kB / 0.8166 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-05/2.118, allocations: 8 kB / 0.8166 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/2.118, allocations: 19.89 kB / 0.8166 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/2.15, allocations: 12.93 MB / 0.8292 GB, free: 177.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/2.15, allocations: 0 / 0.8292 GB, free: 177.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/2.152, allocations: 0.5148 MB / 0.8297 GB, free: 177.4 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/2.156, allocations: 1.473 MB / 0.8312 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003487/2.157, allocations: 47.98 kB / 0.8312 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.168, allocations: 10.62 MB / 0.8416 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.168, allocations: 0 / 0.8416 GB, free: 164.9 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/2.186, allocations: 9.433 MB / 0.8508 GB, free: 155.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004607/2.191, allocations: 1.06 MB / 0.8518 GB, free: 154.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003202/2.194, allocations: 48 kB / 0.8519 GB, free: 154.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005056/2.199, allocations: 167.8 kB / 0.852 GB, free: 154.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009759/2.2, allocations: 153.6 kB / 0.8522 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004045/2.201, allocations: 64 kB / 0.8522 GB, free: 153.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.01192/2.213, allocations: 4.451 MB / 0.8566 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7.31e-07/2.213, allocations: 7.938 kB / 0.8566 GB, free: 149.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01405/2.227, allocations: 1.634 MB / 0.8582 GB, free: 147.8 MB / 0.5763 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.001371/2.228, allocations: 177.6 kB / 0.8583 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01768/2.246, allocations: 8.088 MB / 0.8662 GB, free: 139.5 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/2.246, allocations: 112 / 0.8662 GB, free: 139.5 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005231/2.251, allocations: 2.739 MB / 0.8689 GB, free: 136.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008277/2.26, allocations: 0.7596 MB / 0.8697 GB, free: 136 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/2.29, allocations: 18.89 MB / 0.8881 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006662/2.297, allocations: 4.853 MB / 0.8929 GB, free: 112.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/2.299, allocations: 447.4 kB / 0.8933 GB, free: 111.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.052e-06/2.299, allocations: 0 / 0.8933 GB, free: 111.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.6171/2.916, allocations: 181.4 MB / 1.07 GB, free: 166.4 MB / 0.5763 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