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.001153/0.001154, allocations: 100.1 kB / 15.98 MB, free: 6.34 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.001106/0.001106, allocations: 198.4 kB / 16.91 MB, free: 6.188 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.447/1.447, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.2403/0.2403, allocations: 43.52 MB / 313.6 MB, free: 0.7031 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.00147/0.00147, allocations: 70.92 kB / 382.2 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1454, allocations: 57.8 MB / 440 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.108/0.2534, allocations: 100.9 MB / 0.5282 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4246/0.678, allocations: 19.14 MB / 0.5469 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0329/0.711, allocations: 432.1 kB / 0.5473 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009659/0.7207, allocations: 4.895 MB / 0.5521 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009664/0.7305, allocations: 2.578 MB / 0.5546 GB, free: 0 / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.7349, allocations: 1.18 MB / 0.5558 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01685/0.7517, allocations: 8.072 MB / 0.5637 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.763, allocations: 6.482 MB / 0.57 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007844/0.7709, allocations: 2.749 MB / 0.5727 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008968/0.7799, allocations: 4.158 MB / 0.5767 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003916/0.7839, allocations: 0.5928 MB / 0.5773 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/0.791, allocations: 1.616 MB / 0.5789 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007939/0.799, allocations: 3.464 MB / 0.5823 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01096/0.81, allocations: 3.841 MB / 0.586 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02/0.83, allocations: 11.62 MB / 0.5974 GB, free: 5.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.8301, allocations: 3.938 kB / 0.5974 GB, free: 5.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.8301, allocations: 0 / 0.5974 GB, free: 5.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005339/0.8306, allocations: 0 / 0.5974 GB, free: 5.82 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.02899/0.8596, allocations: 8.064 MB / 0.6053 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.766e-05/0.8597, allocations: 8.031 kB / 0.6053 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/0.8783, allocations: 3.168 MB / 0.6084 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.892, allocations: 5.158 MB / 0.6134 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003984/0.8924, allocations: 390.2 kB / 0.6138 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.895, allocations: 0.5135 MB / 0.6143 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03719/0.9322, allocations: 15.79 MB / 0.6297 GB, free: 3.992 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.9326, allocations: 75.36 kB / 0.6298 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001333/0.9339, allocations: 246 kB / 0.63 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005782/0.9397, allocations: 2.925 MB / 0.6329 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0301/0.9698, allocations: 13.16 MB / 0.6457 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08606/1.056, allocations: 60.38 MB / 0.7047 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01418/1.07, allocations: 6.101 MB / 0.7106 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/1.075, allocations: 3.382 MB / 0.7139 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/1.075, allocations: 45.17 kB / 0.714 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.909e-05/1.075, allocations: 60.12 kB / 0.714 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=242): time 5.07e-06/1.075, allocations: 4 kB / 0.714 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=260): time 0.06934/1.145, allocations: 25.86 MB / 0.7393 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001751/1.145, allocations: 265.2 kB / 0.7395 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3127/1.458, allocations: 6.973 MB / 0.7464 GB, free: 247.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008897/1.459, allocations: 64.86 kB / 0.7464 GB, free: 247 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004854/1.463, allocations: 4.794 MB / 0.7511 GB, free: 244.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001975/1.465, allocations: 1.012 MB / 0.7521 GB, free: 243.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003386/1.469, allocations: 1.806 MB / 0.7539 GB, free: 242.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/1.469, allocations: 302.5 kB / 0.7541 GB, free: 242.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/1.475, allocations: 3.317 MB / 0.7574 GB, free: 241.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008873/1.484, allocations: 8.488 MB / 0.7657 GB, free: 233.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/1.498, allocations: 12.64 MB / 0.778 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/1.498, allocations: 49.28 kB / 0.7781 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02625/1.524, allocations: 13.08 MB / 0.7908 GB, free: 216.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.525, allocations: 88.8 kB / 0.7909 GB, free: 216.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004304/1.525, allocations: 180 kB / 0.7911 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/1.53, allocations: 1.778 MB / 0.7928 GB, free: 214.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007584/1.537, allocations: 2.111 MB / 0.7949 GB, free: 213 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.549, allocations: 12.44 MB / 0.807 GB, free: 200.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009609/1.559, allocations: 499.2 kB / 0.8075 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/1.561, allocations: 0.5194 MB / 0.808 GB, free: 199.3 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.007328/1.568, allocations: 3.206 MB / 0.8112 GB, free: 196 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.57, allocations: 0.5785 MB / 0.8117 GB, free: 195.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009586/1.58, allocations: 5.812 MB / 0.8174 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/1.58, allocations: 28 kB / 0.8174 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/1.58, allocations: 4 kB / 0.8174 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/1.58, allocations: 15.95 kB / 0.8174 GB, free: 189.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0249/1.605, allocations: 12.92 MB / 0.8301 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/1.605, allocations: 0 / 0.8301 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/1.608, allocations: 0.5148 MB / 0.8306 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004001/1.612, allocations: 1.469 MB / 0.832 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000564/1.612, allocations: 47.98 kB / 0.832 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.623, allocations: 11.5 MB / 0.8433 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.623, allocations: 4.031 kB / 0.8433 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.637, allocations: 9.434 MB / 0.8525 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004149/1.642, allocations: 1.056 MB / 0.8535 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/1.644, allocations: 44 kB / 0.8536 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/1.648, allocations: 167.8 kB / 0.8537 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005801/1.649, allocations: 157.4 kB / 0.8539 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.649, allocations: 67.98 kB / 0.8539 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007314/1.656, allocations: 4.451 MB / 0.8583 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.82e-07/1.656, allocations: 4 kB / 0.8583 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01005/1.666, allocations: 1.628 MB / 0.8599 GB, free: 145.6 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.0007459/1.667, allocations: 180.2 kB / 0.8601 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01539/1.682, allocations: 9.566 MB / 0.8694 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.683, allocations: 4.062 kB / 0.8694 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004126/1.687, allocations: 2.732 MB / 0.8721 GB, free: 133.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007049/1.694, allocations: 0.7924 MB / 0.8728 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0316/1.725, allocations: 18.35 MB / 0.8908 GB, free: 114 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009179/1.735, allocations: 4.9 MB / 0.8955 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007472/1.742, allocations: 2.753 MB / 0.8982 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.744, allocations: 391.4 kB / 0.8986 GB, free: 106 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/1.744, allocations: 0 / 0.8986 GB, free: 106 MB / 0.5762 GB Notification: Performance of Templates: time 0.1151/1.859, allocations: 63.97 MB / 0.9611 GB, free: 42.07 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (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) 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