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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009277/0.0009269, allocations: 103 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009602/0.0009603, allocations: 201.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.2 MB / 245.9 MB, free: 12.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 45.92 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 63.47 MB / 481.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3262/0.4453, allocations: 95.33 MB / 0.5632 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05453/0.4999, allocations: 21.19 MB / 0.5839 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02526/0.5252, allocations: 474.9 kB / 0.5843 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01913/0.5444, allocations: 4.853 MB / 0.5891 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04701/0.5914, allocations: 13.57 MB / 0.6023 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008954/0.6004, allocations: 1.069 MB / 0.6034 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.1057/0.7062, allocations: 72.41 MB / 0.6741 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01393/0.7202, allocations: 7.831 MB / 0.6817 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004607/0.7248, allocations: 1.721 MB / 0.6834 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.7297, allocations: 2.325 MB / 0.6857 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.7316, allocations: 240 kB / 0.6859 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.735, allocations: 0.9832 MB / 0.6869 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004183/0.7392, allocations: 2.802 MB / 0.6896 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.7418, allocations: 1.403 MB / 0.691 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.7537, allocations: 9.434 MB / 0.7002 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7537, allocations: 0 / 0.7002 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7537, allocations: 8 kB / 0.7002 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004695/0.7542, allocations: 0 / 0.7002 GB, free: 7.148 MB / 0.5294 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.4746/1.229, allocations: 7.322 MB / 0.7074 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.229, allocations: 8.953 kB / 0.7074 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06339/1.292, allocations: 11.21 MB / 0.7183 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0142/1.307, allocations: 5.204 MB / 0.7234 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/1.307, allocations: 402.2 kB / 0.7238 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002776/1.31, allocations: 0.5374 MB / 0.7243 GB, free: 184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/1.339, allocations: 16.09 MB / 0.74 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003035/1.339, allocations: 83.72 kB / 0.7401 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/1.34, allocations: 258.2 kB / 0.7403 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00461/1.345, allocations: 3.054 MB / 0.7433 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02781/1.373, allocations: 13.2 MB / 0.7562 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07921/1.452, allocations: 63.08 MB / 0.8178 GB, free: 89.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.465, allocations: 5.552 MB / 0.8232 GB, free: 84.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.466, allocations: 51.14 kB / 0.8233 GB, free: 84.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/1.466, allocations: 59.52 kB / 0.8233 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 4.95e-06/1.466, allocations: 0 / 0.8233 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.06869/1.534, allocations: 29.8 MB / 0.8524 GB, free: 53.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.534, allocations: 290.8 kB / 0.8527 GB, free: 53.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008643/1.543, allocations: 7.485 MB / 0.86 GB, free: 45.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006351/1.544, allocations: 69.7 kB / 0.8601 GB, free: 45.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.546, allocations: 4.979 MB / 0.865 GB, free: 40.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.547, allocations: 1.02 MB / 0.8659 GB, free: 39.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/1.548, allocations: 172 kB / 0.8661 GB, free: 39.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003237/1.548, allocations: 0.6658 MB / 0.8668 GB, free: 39.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003897/1.552, allocations: 3.175 MB / 0.8699 GB, free: 35.86 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006065/1.558, allocations: 8.395 MB / 0.8781 GB, free: 24.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/1.564, allocations: 5.047 MB / 0.883 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.311e-05/1.565, allocations: 56 kB / 0.883 GB, free: 19.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.02187/1.586, allocations: 12.54 MB / 0.8953 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/1.587, allocations: 86.81 kB / 0.8954 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/1.587, allocations: 184 kB / 0.8956 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/1.591, allocations: 1.564 MB / 0.8971 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/1.597, allocations: 2.004 MB / 0.899 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/1.613, allocations: 12.62 MB / 0.9114 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/1.622, allocations: 479 kB / 0.9118 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.623, allocations: 0.5156 MB / 0.9123 GB, free: 5.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1037): * Single equations (assignments): 1031 * 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.006666/1.63, allocations: 3.3 MB / 0.9155 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.632, allocations: 0.6016 MB / 0.9161 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3001/1.932, allocations: 5.594 MB / 0.9216 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/1.932, allocations: 29.84 kB / 0.9216 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.643e-05/1.932, allocations: 13.19 kB / 0.9216 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-05/1.932, allocations: 13.28 kB / 0.9216 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03153/1.963, allocations: 13.53 MB / 0.9349 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.964, allocations: 1 kB / 0.9349 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/1.966, allocations: 460.9 kB / 0.9353 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/1.969, allocations: 1.251 MB / 0.9365 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004442/1.97, allocations: 40.06 kB / 0.9366 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.983, allocations: 11.67 MB / 0.948 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.983, allocations: 3.969 kB / 0.948 GB, free: 166.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.997, allocations: 9.53 MB / 0.9573 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002614/2, allocations: 0.6818 MB / 0.9579 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.002, allocations: 44.64 kB / 0.958 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/2.004, allocations: 158.7 kB / 0.9581 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/2.005, allocations: 158.3 kB / 0.9583 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/2.005, allocations: 68.14 kB / 0.9583 GB, free: 162.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00854/2.014, allocations: 4.819 MB / 0.963 GB, free: 161.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.12e-07/2.014, allocations: 0 / 0.963 GB, free: 161.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01031/2.024, allocations: 1.629 MB / 0.9646 GB, free: 160.7 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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.0007602/2.025, allocations: 201.5 kB / 0.9648 GB, free: 160.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01181/2.037, allocations: 7.995 MB / 0.9726 GB, free: 152.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.037, allocations: 0 / 0.9726 GB, free: 152.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003944/2.041, allocations: 2.957 MB / 0.9755 GB, free: 149.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/2.045, allocations: 0.814 MB / 0.9763 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/2.075, allocations: 17.97 MB / 0.9939 GB, free: 131.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00628/2.081, allocations: 5.16 MB / 0.9989 GB, free: 126 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007413/2.089, allocations: 2.826 MB / 1.002 GB, free: 123.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/2.091, allocations: 399.4 kB / 1.002 GB, free: 122.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/2.091, allocations: 0 / 1.002 GB, free: 122.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1088/2.199, allocations: 62.75 MB / 1.063 GB, free: 60.36 MB / 0.545 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