Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009405/0.0009449, allocations: 194.1 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.5 MB / 244.1 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007642/0.0007643, allocations: 96.53 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3516/0.3516, allocations: 44.83 MB / 393 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 11.98 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3171, allocations: 62.96 MB / 0.5165 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4396, allocations: 107.9 MB / 0.6219 GB, free: 13.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.44, allocations: 83.95 kB / 0.622 GB, free: 13.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5372/0.9772, allocations: 132.6 MB / 0.7515 GB, free: 87.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9772, allocations: 0 / 0.7515 GB, free: 87.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000332/0.9775, allocations: 137.1 kB / 0.7516 GB, free: 87.19 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01996/0.9975, allocations: 6.806 MB / 0.7582 GB, free: 82.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9976, allocations: 10.5 kB / 0.7582 GB, free: 82.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02685/1.024, allocations: 6.983 MB / 0.7651 GB, free: 78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/1.039, allocations: 6.62 MB / 0.7715 GB, free: 71.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/1.039, allocations: 489.2 kB / 0.772 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/1.042, allocations: 0.6485 MB / 0.7726 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/1.073, allocations: 15.16 MB / 0.7874 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004438/1.073, allocations: 95.31 kB / 0.7875 GB, free: 53.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002243/1.076, allocations: 315.8 kB / 0.7878 GB, free: 53.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001696/1.077, allocations: 1.345 MB / 0.7891 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.1, allocations: 11.93 MB / 0.8008 GB, free: 39.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07412/1.174, allocations: 67.57 MB / 0.8668 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/1.187, allocations: 5.227 MB / 0.8719 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/1.191, allocations: 2.623 MB / 0.8744 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/1.191, allocations: 40.95 kB / 0.8745 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/1.191, allocations: 55.55 kB / 0.8745 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=186): time 5.5e-06/1.191, allocations: 0 / 0.8745 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=204): time 0.342/1.533, allocations: 19.54 MB / 0.8936 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/1.533, allocations: 252.5 kB / 0.8939 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.545, allocations: 6.662 MB / 0.9004 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005629/1.545, allocations: 53.58 kB / 0.9004 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.549, allocations: 4.702 MB / 0.905 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.55, allocations: 0.8179 MB / 0.9058 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/1.55, allocations: 153.2 kB / 0.9059 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003671/1.551, allocations: 0.6329 MB / 0.9066 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004045/1.555, allocations: 2.462 MB / 0.909 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/1.561, allocations: 7.435 MB / 0.9162 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/1.573, allocations: 10.78 MB / 0.9268 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003363/1.573, allocations: 49.97 kB / 0.9268 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02024/1.593, allocations: 10.18 MB / 0.9368 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.593, allocations: 78.66 kB / 0.9368 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003385/1.594, allocations: 177.3 kB / 0.937 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.596, allocations: 0.8044 MB / 0.9378 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/1.601, allocations: 1.769 MB / 0.9395 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008835/1.61, allocations: 8.488 MB / 0.9478 GB, free: 96.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00726/1.618, allocations: 421.4 kB / 0.9482 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.619, allocations: 492.1 kB / 0.9487 GB, free: 96.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (945): * Single equations (assignments): 939 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007294/1.627, allocations: 3.043 MB / 0.9516 GB, free: 94.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/1.628, allocations: 0.5533 MB / 0.9522 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006557/1.635, allocations: 3.423 MB / 0.9555 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/1.635, allocations: 25.8 kB / 0.9555 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/1.635, allocations: 6.812 kB / 0.9556 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/1.635, allocations: 10.23 kB / 0.9556 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02327/1.658, allocations: 9.619 MB / 0.965 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/1.658, allocations: 3.75 kB / 0.965 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/1.66, allocations: 307.4 kB / 0.9653 GB, free: 89.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/1.661, allocations: 0.5217 MB / 0.9658 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/1.661, allocations: 40.75 kB / 0.9658 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/1.668, allocations: 7.596 MB / 0.9732 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.668, allocations: 0 / 0.9732 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008871/1.677, allocations: 6.109 MB / 0.9792 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/1.679, allocations: 0.6149 MB / 0.9798 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.681, allocations: 34.73 kB / 0.9798 GB, free: 80.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002818/1.684, allocations: 115 kB / 0.9799 GB, free: 80.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/1.684, allocations: 124.2 kB / 0.98 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.684, allocations: 53.08 kB / 0.9801 GB, free: 80.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009659/1.694, allocations: 4.235 MB / 0.9842 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/1.694, allocations: 0 / 0.9842 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009678/1.704, allocations: 1.391 MB / 0.9856 GB, free: 76.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008146/1.705, allocations: 180.1 kB / 0.9858 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.715, allocations: 6.287 MB / 0.9919 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.715, allocations: 0 / 0.9919 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002703/1.718, allocations: 1.98 MB / 0.9938 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008593/1.726, allocations: 0.7787 MB / 0.9946 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/1.756, allocations: 16.49 MB / 1.011 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008291/1.765, allocations: 4.67 MB / 1.015 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.766, allocations: 400.8 kB / 1.016 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.766, allocations: 4 kB / 1.016 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.461/2.227, allocations: 167.9 MB / 1.18 GB, free: 104.1 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches