Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009596, allocations: 96.05 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 175.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3866/0.3866, allocations: 43.54 MB / 314.5 MB, free: 8.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005311, allocations: 12 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3283/0.4607, allocations: 80.07 MB / 0.5106 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05111/0.5119, allocations: 18.03 MB / 0.5282 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02335/0.5353, allocations: 398.6 kB / 0.5286 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01932/0.5546, allocations: 4.021 MB / 0.5325 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0473/0.602, allocations: 11.37 MB / 0.5436 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.6084, allocations: 0.8971 MB / 0.5445 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0427/0.6511, allocations: 27.31 MB / 0.5711 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.6625, allocations: 7.031 MB / 0.578 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.666, allocations: 1.573 MB / 0.5795 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003476/0.6695, allocations: 2.192 MB / 0.5817 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009118/0.6704, allocations: 240 kB / 0.5819 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.6729, allocations: 1.088 MB / 0.583 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.6755, allocations: 2.56 MB / 0.5855 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001618/0.6772, allocations: 1.333 MB / 0.5868 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009958/0.6871, allocations: 9.025 MB / 0.5956 GB, free: 3.602 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6872, allocations: 0 / 0.5956 GB, free: 3.602 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6872, allocations: 0 / 0.5956 GB, free: 3.602 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003932/0.6876, allocations: 0 / 0.5956 GB, free: 3.602 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.0173/0.7049, allocations: 6.726 MB / 0.6022 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.705, allocations: 8.031 kB / 0.6022 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04397/0.7489, allocations: 8.291 MB / 0.6103 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7599, allocations: 4.589 MB / 0.6147 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.7604, allocations: 385.8 kB / 0.6151 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002188/0.7626, allocations: 0.4997 MB / 0.6156 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2471/1.01, allocations: 16.42 MB / 0.6316 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003565/1.01, allocations: 61.36 kB / 0.6317 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/1.012, allocations: 246.2 kB / 0.6319 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004981/1.017, allocations: 3.154 MB / 0.635 GB, free: 137.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02637/1.043, allocations: 14.03 MB / 0.6487 GB, free: 134.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0796/1.123, allocations: 60.42 MB / 0.7077 GB, free: 92.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01819/1.141, allocations: 8.109 MB / 0.7156 GB, free: 88.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/1.142, allocations: 49.7 kB / 0.7157 GB, free: 88.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.142, allocations: 68.56 kB / 0.7157 GB, free: 88.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.21e-06/1.142, allocations: 0 / 0.7157 GB, free: 88.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.07845/1.22, allocations: 35.02 MB / 0.7499 GB, free: 52.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.22, allocations: 218.1 kB / 0.7502 GB, free: 52.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/1.228, allocations: 6.597 MB / 0.7566 GB, free: 46.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000827/1.228, allocations: 73.7 kB / 0.7567 GB, free: 45.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002129/1.231, allocations: 4.59 MB / 0.7611 GB, free: 41.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.232, allocations: 1.237 MB / 0.7624 GB, free: 40.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/1.232, allocations: 168 kB / 0.7625 GB, free: 39.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003016/1.233, allocations: 0.6696 MB / 0.7632 GB, free: 39.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/1.237, allocations: 3.854 MB / 0.7669 GB, free: 35.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006211/1.243, allocations: 8.664 MB / 0.7754 GB, free: 24.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/1.25, allocations: 5.654 MB / 0.7809 GB, free: 18.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.567e-05/1.25, allocations: 48 kB / 0.781 GB, free: 18.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02039/1.27, allocations: 13.91 MB / 0.7945 GB, free: 4.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/1.271, allocations: 76 kB / 0.7946 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.271, allocations: 168 kB / 0.7948 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003694/1.274, allocations: 1.797 MB / 0.7965 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006552/1.281, allocations: 2.035 MB / 0.7985 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/1.296, allocations: 12.35 MB / 0.8106 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00804/1.304, allocations: 0.5343 MB / 0.8111 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/1.306, allocations: 0.4999 MB / 0.8116 GB, free: 3.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1046): * Single equations (assignments): 1041 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009177/1.315, allocations: 3.154 MB / 0.8147 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.317, allocations: 0.5593 MB / 0.8152 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/1.331, allocations: 7.71 MB / 0.8228 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.677e-05/1.331, allocations: 36 kB / 0.8228 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.331, allocations: 8 kB / 0.8228 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-05/1.331, allocations: 15.94 kB / 0.8228 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2402/1.571, allocations: 16.7 MB / 0.8391 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.571, allocations: 3.25 kB / 0.8391 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/1.575, allocations: 0.5981 MB / 0.8397 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/1.578, allocations: 1.528 MB / 0.8412 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006336/1.579, allocations: 67.8 kB / 0.8413 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.592, allocations: 11.57 MB / 0.8526 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/1.592, allocations: 6.156 kB / 0.8526 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/1.61, allocations: 13.12 MB / 0.8654 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/1.615, allocations: 1.235 MB / 0.8666 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009749/1.616, allocations: 62.62 kB / 0.8667 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.618, allocations: 270 kB / 0.8669 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/1.619, allocations: 202.1 kB / 0.8671 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/1.619, allocations: 88.14 kB / 0.8672 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007089/1.626, allocations: 4.234 MB / 0.8713 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/1.626, allocations: 2.297 kB / 0.8713 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01182/1.638, allocations: 1.716 MB / 0.873 GB, free: 141.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/1.64, allocations: 216.2 kB / 0.8732 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01603/1.656, allocations: 9.439 MB / 0.8824 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.656, allocations: 3.906 kB / 0.8824 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006456/1.662, allocations: 3.939 MB / 0.8863 GB, free: 136.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/1.666, allocations: 0.6753 MB / 0.8869 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.69, allocations: 18.59 MB / 0.9051 GB, free: 121.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00476/1.695, allocations: 4.994 MB / 0.91 GB, free: 117.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006313/1.702, allocations: 2.935 MB / 0.9128 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.703, allocations: 399.3 kB / 0.9132 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/1.703, allocations: 7.938 kB / 0.9132 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.09267/1.796, allocations: 65.31 MB / 0.977 GB, free: 49.92 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches