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.0009504/0.0009503, allocations: 96.67 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 178.4 kB / 16.57 MB, free: 6.379 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.497/1.497, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3681/0.3681, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.0005268/0.0005269, allocations: 12 kB / 383.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.84 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3219/0.4537, allocations: 86.47 MB / 0.5168 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05313/0.5069, allocations: 19.34 MB / 0.5357 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02423/0.5312, allocations: 428.1 kB / 0.5361 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02118/0.5524, allocations: 4.372 MB / 0.5404 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05108/0.6035, allocations: 12.34 MB / 0.5524 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007123/0.6107, allocations: 1.01 MB / 0.5534 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.05922/0.6699, allocations: 39.62 MB / 0.5921 GB, free: 6.926 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.6833, allocations: 7.359 MB / 0.5993 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.6878, allocations: 1.725 MB / 0.601 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.6923, allocations: 2.407 MB / 0.6033 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00173/0.6941, allocations: 244 kB / 0.6036 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.6978, allocations: 1.096 MB / 0.6046 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004373/0.7022, allocations: 2.778 MB / 0.6073 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.7051, allocations: 1.384 MB / 0.6087 GB, free: 5.875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.717, allocations: 9.391 MB / 0.6179 GB, free: 12.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.717, allocations: 0 / 0.6179 GB, free: 12.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.717, allocations: 0 / 0.6179 GB, free: 12.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004973/0.7175, allocations: 0 / 0.6179 GB, free: 12.46 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.01934/0.7369, allocations: 7.089 MB / 0.6248 GB, free: 5.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.737, allocations: 19.95 kB / 0.6248 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4588/1.196, allocations: 11.18 MB / 0.6357 GB, free: 143.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/1.208, allocations: 5.594 MB / 0.6412 GB, free: 142.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/1.208, allocations: 393 kB / 0.6416 GB, free: 142.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/1.21, allocations: 0.5191 MB / 0.6421 GB, free: 142.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02872/1.239, allocations: 15.71 MB / 0.6574 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003219/1.239, allocations: 76.67 kB / 0.6575 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008798/1.24, allocations: 250 kB / 0.6577 GB, free: 135.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00575/1.246, allocations: 2.924 MB / 0.6606 GB, free: 134.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04144/1.287, allocations: 12.92 MB / 0.6732 GB, free: 130.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09052/1.378, allocations: 59.96 MB / 0.7317 GB, free: 73.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/1.393, allocations: 5.898 MB / 0.7375 GB, free: 67.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/1.393, allocations: 52.23 kB / 0.7376 GB, free: 67.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/1.393, allocations: 68.06 kB / 0.7376 GB, free: 67.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 9.638e-06/1.393, allocations: 448 / 0.7376 GB, free: 67.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.06461/1.458, allocations: 23.47 MB / 0.7605 GB, free: 44.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.458, allocations: 273.1 kB / 0.7608 GB, free: 43.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/1.469, allocations: 7.34 MB / 0.768 GB, free: 36.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006841/1.47, allocations: 65.7 kB / 0.768 GB, free: 36.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/1.473, allocations: 4.863 MB / 0.7728 GB, free: 31.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.474, allocations: 0.9997 MB / 0.7738 GB, free: 30.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/1.474, allocations: 169.4 kB / 0.7739 GB, free: 30.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003196/1.474, allocations: 0.6575 MB / 0.7746 GB, free: 29.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/1.478, allocations: 2.964 MB / 0.7775 GB, free: 26.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.484, allocations: 8.063 MB / 0.7853 GB, free: 16.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005966/1.49, allocations: 4.773 MB / 0.79 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001592/1.49, allocations: 52 kB / 0.79 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.01805/1.508, allocations: 11.52 MB / 0.8013 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.508, allocations: 84 kB / 0.8014 GB, free: 15.67 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/1.509, allocations: 182.8 kB / 0.8015 GB, free: 15.49 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/1.511, allocations: 1.03 MB / 0.8026 GB, free: 14.46 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006815/1.518, allocations: 2.035 MB / 0.8045 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/1.529, allocations: 9.583 MB / 0.8139 GB, free: 2.469 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/1.536, allocations: 475.1 kB / 0.8144 GB, free: 2.004 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.538, allocations: 0.5 MB / 0.8148 GB, free: 1.504 MB / 0.4982 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 (1030): * Single equations (assignments): 1024 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2456/1.784, allocations: 3.203 MB / 0.818 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/1.785, allocations: 0.5808 MB / 0.8185 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00772/1.793, allocations: 4.702 MB / 0.8231 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/1.793, allocations: 27.89 kB / 0.8232 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.793, allocations: 8.062 kB / 0.8232 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/1.793, allocations: 12.41 kB / 0.8232 GB, free: 133.6 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.812, allocations: 11.85 MB / 0.8347 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.812, allocations: 0.5 kB / 0.8347 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/1.814, allocations: 0.5106 MB / 0.8352 GB, free: 130.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/1.816, allocations: 0.713 MB / 0.8359 GB, free: 130.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/1.816, allocations: 49.05 kB / 0.836 GB, free: 130.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/1.824, allocations: 8.659 MB / 0.8444 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.824, allocations: 0 / 0.8444 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.835, allocations: 8.221 MB / 0.8525 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/1.838, allocations: 1.037 MB / 0.8535 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/1.84, allocations: 42.25 kB / 0.8535 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.843, allocations: 154.7 kB / 0.8537 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004618/1.843, allocations: 149.5 kB / 0.8538 GB, free: 120.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/1.844, allocations: 70.31 kB / 0.8539 GB, free: 120.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01069/1.854, allocations: 4.744 MB / 0.8585 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.31e-07/1.854, allocations: 0 / 0.8585 GB, free: 119.3 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009572/1.864, allocations: 1.556 MB / 0.86 GB, free: 119.1 MB / 0.4982 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.000933/1.865, allocations: 203.8 kB / 0.8602 GB, free: 119 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.878, allocations: 7.444 MB / 0.8675 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.878, allocations: 3.094 kB / 0.8675 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.882, allocations: 2.542 MB / 0.87 GB, free: 115.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/1.886, allocations: 0.7528 MB / 0.8707 GB, free: 114.8 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/1.913, allocations: 17.22 MB / 0.8875 GB, free: 106.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006516/1.92, allocations: 5.036 MB / 0.8925 GB, free: 102.8 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007097/1.927, allocations: 2.766 MB / 0.8952 GB, free: 101 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.928, allocations: 402 kB / 0.8955 GB, free: 100.6 MB / 0.4982 GB Notification: Performance of SimCode: time 1.963e-06/1.928, allocations: 0 / 0.8955 GB, free: 100.6 MB / 0.4982 GB Notification: Performance of Templates: time 0.08694/2.015, allocations: 57.33 MB / 0.9515 GB, free: 45.04 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches