Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000951/0.000951, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008858/0.0008858, allocations: 90.53 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3266/0.3266, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.899e-05, allocations: 0 / 425.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.458, allocations: 108.7 MB / 0.5789 GB, free: 12.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4583, allocations: 83.23 kB / 0.579 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6004/1.059, allocations: 152.8 MB / 0.7282 GB, free: 82.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.059, allocations: 0 / 0.7282 GB, free: 82.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003519/1.059, allocations: 144.8 kB / 0.7283 GB, free: 82.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.0209/1.08, allocations: 7.396 MB / 0.7356 GB, free: 79.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.08, allocations: 11.69 kB / 0.7356 GB, free: 79.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03446/1.114, allocations: 9.629 MB / 0.745 GB, free: 78.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.019/1.134, allocations: 9.144 MB / 0.7539 GB, free: 74.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.134, allocations: 0.57 MB / 0.7545 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/1.136, allocations: 0.7665 MB / 0.7552 GB, free: 74.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/1.168, allocations: 18.05 MB / 0.7728 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/1.168, allocations: 103.2 kB / 0.7729 GB, free: 64.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.169, allocations: 374.9 kB / 0.7733 GB, free: 64.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/1.171, allocations: 1.696 MB / 0.7749 GB, free: 64.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/1.194, allocations: 14.4 MB / 0.789 GB, free: 53.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3874/1.582, allocations: 80.91 MB / 0.868 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/1.597, allocations: 7.141 MB / 0.875 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/1.602, allocations: 4.065 MB / 0.879 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/1.602, allocations: 63.12 kB / 0.879 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/1.602, allocations: 69.75 kB / 0.8791 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 5.961e-06/1.602, allocations: 3.156 kB / 0.8791 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.06381/1.666, allocations: 27.39 MB / 0.9058 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.666, allocations: 303 kB / 0.9061 GB, free: 30.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/1.68, allocations: 6.533 MB / 0.9125 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008405/1.68, allocations: 78.03 kB / 0.9126 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.684, allocations: 5.374 MB / 0.9178 GB, free: 27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.686, allocations: 1.287 MB / 0.9191 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/1.686, allocations: 194.1 kB / 0.9193 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004394/1.687, allocations: 0.7173 MB / 0.92 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/1.691, allocations: 3.606 MB / 0.9235 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006982/1.698, allocations: 9.21 MB / 0.9325 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/1.707, allocations: 5.709 MB / 0.9381 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002201/1.707, allocations: 58.28 kB / 0.9381 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.02569/1.733, allocations: 13.78 MB / 0.9516 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.733, allocations: 87.38 kB / 0.9517 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002733/1.733, allocations: 199.2 kB / 0.9519 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/1.737, allocations: 1.372 MB / 0.9532 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/1.745, allocations: 2.252 MB / 0.9554 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.756, allocations: 11.24 MB / 0.9664 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008919/1.765, allocations: 0.5374 MB / 0.9669 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/1.767, allocations: 0.5638 MB / 0.9674 GB, free: 3.066 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1175): * Single equations (assignments): 1169 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00326/1.77, allocations: 0.8441 MB / 0.9683 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.772, allocations: 0.6414 MB / 0.9689 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.785, allocations: 6.654 MB / 0.9754 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/1.785, allocations: 34.19 kB / 0.9754 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/1.785, allocations: 12.28 kB / 0.9754 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/1.785, allocations: 16.59 kB / 0.9754 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03051/1.816, allocations: 15.4 MB / 0.9905 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/1.816, allocations: 3 kB / 0.9905 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.819, allocations: 0.5794 MB / 0.9911 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.822, allocations: 1.066 MB / 0.9921 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005118/1.822, allocations: 60.36 kB / 0.9922 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/1.835, allocations: 10.24 MB / 1.002 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.835, allocations: 4 kB / 1.002 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.853, allocations: 11.12 MB / 1.013 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00432/1.857, allocations: 1.244 MB / 1.014 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002085/1.859, allocations: 55.78 kB / 1.014 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004032/1.863, allocations: 206.5 kB / 1.014 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/1.864, allocations: 192.4 kB / 1.015 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/1.864, allocations: 88.36 kB / 1.015 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01106/1.875, allocations: 4.638 MB / 1.019 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.142e-06/1.875, allocations: 0 / 1.019 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01193/1.887, allocations: 1.798 MB / 1.021 GB, free: 9.398 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/1.889, allocations: 206.2 kB / 1.021 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01498/1.904, allocations: 9.118 MB / 1.03 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.904, allocations: 7.938 kB / 1.03 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005662/1.909, allocations: 3.488 MB / 1.034 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.915, allocations: 0.8247 MB / 1.034 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/1.945, allocations: 14.37 MB / 1.048 GB, free: 192 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/1.957, allocations: 5.846 MB / 1.054 GB, free: 12.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009921/1.967, allocations: 3.177 MB / 1.057 GB, free: 9.852 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/1.969, allocations: 447.3 kB / 1.058 GB, free: 9.414 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/1.969, allocations: 0 / 1.058 GB, free: 9.414 MB / 0.573 GB Notification: Performance of Templates: time 0.3703/2.34, allocations: 66.46 MB / 1.123 GB, free: 162.6 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches