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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 171.9 kB / 16.76 MB, free: 5.055 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.598/1.598, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0007779/0.000778, allocations: 86.41 kB / 271.3 MB, free: 8.242 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.3518/0.3518, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3455/0.4664, allocations: 105.9 MB / 0.5834 GB, free: 12.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4666, allocations: 79.95 kB / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5502/1.017, allocations: 135.4 MB / 0.7157 GB, free: 83.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.017, allocations: 0 / 0.7157 GB, free: 83.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007111/1.018, allocations: 143.1 kB / 0.7159 GB, free: 83.45 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02593/1.044, allocations: 7.03 MB / 0.7227 GB, free: 80.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.044, allocations: 9.156 kB / 0.7227 GB, free: 80.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/1.073, allocations: 7.027 MB / 0.7296 GB, free: 80.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/1.091, allocations: 7.535 MB / 0.737 GB, free: 78.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005762/1.092, allocations: 0.5049 MB / 0.7374 GB, free: 78.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003553/1.095, allocations: 0.6798 MB / 0.7381 GB, free: 78.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03912/1.135, allocations: 16.03 MB / 0.7538 GB, free: 70.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006016/1.135, allocations: 94.66 kB / 0.7539 GB, free: 70.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003678/1.139, allocations: 334.2 kB / 0.7542 GB, free: 70.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002221/1.141, allocations: 1.458 MB / 0.7556 GB, free: 70.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/1.166, allocations: 12.72 MB / 0.768 GB, free: 66.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07213/1.238, allocations: 70.72 MB / 0.8371 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/1.251, allocations: 5.91 MB / 0.8428 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/1.255, allocations: 3.08 MB / 0.8459 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/1.255, allocations: 51.48 kB / 0.8459 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/1.255, allocations: 60.12 kB / 0.846 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.873e-06/1.255, allocations: 0 / 0.846 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06291/1.318, allocations: 22.25 MB / 0.8677 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.318, allocations: 265.2 kB / 0.8679 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2577/1.576, allocations: 6.916 MB / 0.8747 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005622/1.577, allocations: 64.58 kB / 0.8748 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004704/1.581, allocations: 4.879 MB / 0.8795 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.583, allocations: 1.005 MB / 0.8805 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006869/1.583, allocations: 167.5 kB / 0.8807 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000449/1.584, allocations: 0.664 MB / 0.8813 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/1.589, allocations: 2.87 MB / 0.8841 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0078/1.597, allocations: 8.046 MB / 0.892 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.611, allocations: 11.87 MB / 0.9036 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004063/1.612, allocations: 51.72 kB / 0.9036 GB, free: 90.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02331/1.635, allocations: 11.24 MB / 0.9146 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/1.635, allocations: 82.12 kB / 0.9147 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002983/1.636, allocations: 184.1 kB / 0.9148 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/1.638, allocations: 0.7809 MB / 0.9156 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007375/1.645, allocations: 1.934 MB / 0.9175 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009394/1.655, allocations: 8.319 MB / 0.9256 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/1.668, allocations: 468.5 kB / 0.9261 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002614/1.671, allocations: 0.5069 MB / 0.9266 GB, free: 82.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1036): * Single equations (assignments): 1030 * 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.009015/1.68, allocations: 3.214 MB / 0.9297 GB, free: 80.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/1.682, allocations: 0.5818 MB / 0.9303 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/1.69, allocations: 4.34 MB / 0.9345 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/1.69, allocations: 28.5 kB / 0.9345 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.69, allocations: 7.609 kB / 0.9345 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.56e-05/1.69, allocations: 10.97 kB / 0.9345 GB, free: 78.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02717/1.717, allocations: 11.25 MB / 0.9455 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.717, allocations: 3.906 kB / 0.9455 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.719, allocations: 416.7 kB / 0.9459 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.72, allocations: 0.5036 MB / 0.9464 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/1.721, allocations: 44.19 kB / 0.9465 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00683/1.728, allocations: 7.401 MB / 0.9537 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.728, allocations: 0 / 0.9537 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.738, allocations: 7.583 MB / 0.9611 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003373/1.742, allocations: 0.9949 MB / 0.9621 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/1.743, allocations: 43.75 kB / 0.9621 GB, free: 65.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/1.747, allocations: 142.9 kB / 0.9623 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/1.747, allocations: 154.7 kB / 0.9624 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.748, allocations: 63.94 kB / 0.9625 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008996/1.757, allocations: 4.405 MB / 0.9668 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/1.757, allocations: 0 / 0.9668 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01043/1.767, allocations: 1.516 MB / 0.9682 GB, free: 63.43 MB / 0.5105 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.0008873/1.768, allocations: 195.1 kB / 0.9684 GB, free: 63.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.78, allocations: 7.246 MB / 0.9755 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.78, allocations: 0 / 0.9755 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/1.783, allocations: 2.45 MB / 0.9779 GB, free: 59.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007942/1.791, allocations: 0.79 MB / 0.9787 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.821, allocations: 17.16 MB / 0.9954 GB, free: 50.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008955/1.83, allocations: 4.899 MB / 1 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008198/1.838, allocations: 2.762 MB / 1.003 GB, free: 46.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.84, allocations: 392.1 kB / 1.003 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/1.84, allocations: 0 / 1.003 GB, free: 45.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.1037/1.944, allocations: 54.95 MB / 1.057 GB, free: 1.641 MB / 0.5105 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/jenkins1/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