Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 198.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.6 MB / 234.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008098, allocations: 99.11 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1908/0.1908, allocations: 45.14 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.565, allocations: 109.3 MB / 0.6111 GB, free: 9.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.5653, allocations: 70.47 kB / 0.6111 GB, free: 9.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3416/0.9069, allocations: 142.2 MB / 0.75 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.945e-06/0.907, allocations: 0 / 0.75 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003334/0.9073, allocations: 140 kB / 0.7501 GB, free: 3.129 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.3674/1.275, allocations: 6.958 MB / 0.7569 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.275, allocations: 14.16 kB / 0.7569 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04023/1.315, allocations: 9.502 MB / 0.7662 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/1.336, allocations: 7.599 MB / 0.7736 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/1.337, allocations: 229.6 kB / 0.7738 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003785/1.341, allocations: 422.1 kB / 0.7742 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01878/1.359, allocations: 9.332 MB / 0.7833 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/1.39, allocations: 14.7 MB / 0.7977 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004292/1.391, allocations: 107 kB / 0.7978 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/1.392, allocations: 51.55 kB / 0.7979 GB, free: 99.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001766/1.394, allocations: 1.493 MB / 0.7993 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/1.463, allocations: 72.78 MB / 0.8704 GB, free: 49.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/1.468, allocations: 5.035 MB / 0.8753 GB, free: 47.15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002976/1.471, allocations: 3.376 MB / 0.8786 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/1.471, allocations: 45.77 kB / 0.8786 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.471, allocations: 68.55 kB / 0.8787 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.631e-06/1.471, allocations: 0 / 0.8787 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.04596/1.517, allocations: 28.73 MB / 0.9068 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/1.517, allocations: 283.2 kB / 0.907 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/1.523, allocations: 4.853 MB / 0.9118 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.523, allocations: 28.05 kB / 0.9118 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.525, allocations: 5.046 MB / 0.9167 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000799/1.526, allocations: 1 MB / 0.9177 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/1.527, allocations: 0 / 0.9177 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003302/1.527, allocations: 0.6743 MB / 0.9184 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.53, allocations: 2.904 MB / 0.9212 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/1.535, allocations: 8.24 MB / 0.9292 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005775/1.541, allocations: 4.846 MB / 0.934 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.58e-05/1.541, allocations: 59.95 kB / 0.934 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.01798/1.559, allocations: 11.05 MB / 0.9448 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/1.559, allocations: 87.95 kB / 0.9449 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.559, allocations: 195.9 kB / 0.9451 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/1.562, allocations: 1.357 MB / 0.9464 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005901/1.568, allocations: 2.02 MB / 0.9484 GB, free: 0.8086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.581, allocations: 10.71 MB / 0.9588 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007533/1.589, allocations: 312.2 kB / 0.9591 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/1.591, allocations: 0.537 MB / 0.9597 GB, free: 6.348 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (1069): * Single equations (assignments): 1063 * 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,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001492/1.593, allocations: 0.5885 MB / 0.9602 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.594, allocations: 0.5128 MB / 0.9607 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008828/1.603, allocations: 4.993 MB / 0.9656 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/1.603, allocations: 28 kB / 0.9656 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.603, allocations: 16 kB / 0.9657 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/1.603, allocations: 11.77 kB / 0.9657 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6437/2.247, allocations: 11.65 MB / 0.9771 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/2.247, allocations: 1.562 kB / 0.9771 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/2.249, allocations: 427.4 kB / 0.9775 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/2.252, allocations: 1.042 MB / 0.9785 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/2.252, allocations: 10.38 kB / 0.9785 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/2.262, allocations: 9.68 MB / 0.9879 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.262, allocations: 1.562 kB / 0.9879 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/2.274, allocations: 8.696 MB / 0.9964 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/2.276, allocations: 0.53 MB / 0.997 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/2.276, allocations: 3.688 kB / 0.997 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/2.278, allocations: 113 kB / 0.9971 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/2.279, allocations: 158.4 kB / 0.9972 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/2.279, allocations: 63.92 kB / 0.9973 GB, free: 116.4 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00493/2.284, allocations: 3.272 MB / 1 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.533e-06/2.284, allocations: 0 / 1 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.007144/2.291, allocations: 1.379 MB / 1.002 GB, free: 116.2 MB / 0.5574 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 (206): * Single equations (assignments): 200 * 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.0004581/2.292, allocations: 157.7 kB / 1.002 GB, free: 116.1 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01024/2.302, allocations: 7.381 MB / 1.009 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.302, allocations: 0 / 1.009 GB, free: 115.8 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/2.305, allocations: 2.686 MB / 1.012 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/2.309, allocations: 0.6499 MB / 1.012 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/2.332, allocations: 12.44 MB / 1.025 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007001/2.339, allocations: 5.171 MB / 1.03 GB, free: 112.1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.00759/2.346, allocations: 2.791 MB / 1.032 GB, free: 112 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/2.347, allocations: 350.6 kB / 1.033 GB, free: 112 MB / 0.5574 GB Notification: Performance of SimCode: time 9.51e-07/2.347, allocations: 0.75 kB / 1.033 GB, free: 112 MB / 0.5574 GB Notification: Performance of Templates: time 0.09401/2.441, allocations: 50.46 MB / 1.082 GB, free: 96.09 MB / 0.5574 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches