Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 97.38 kB / 15.69 MB, free: 480 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.001051/0.001051, allocations: 178.8 kB / 16.57 MB, free: 6.391 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.412/1.412, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3248/0.3248, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0004886/0.0004888, allocations: 12 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 58.86 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3104/0.4463, allocations: 83.6 MB / 0.514 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04898/0.4953, allocations: 18.71 MB / 0.5323 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02297/0.5183, allocations: 414.8 kB / 0.5327 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01744/0.5358, allocations: 4.21 MB / 0.5368 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04648/0.5823, allocations: 11.91 MB / 0.5484 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006198/0.5885, allocations: 0.9159 MB / 0.5493 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0397/0.6282, allocations: 27.5 MB / 0.5762 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.6399, allocations: 7.361 MB / 0.5834 GB, free: 20 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.6436, allocations: 1.666 MB / 0.585 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.6472, allocations: 2.266 MB / 0.5872 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009587/0.6482, allocations: 244 kB / 0.5874 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.651, allocations: 1.1 MB / 0.5885 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.6538, allocations: 2.665 MB / 0.5911 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.6555, allocations: 1.388 MB / 0.5925 GB, free: 6.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.6661, allocations: 9.321 MB / 0.6016 GB, free: 13.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6662, allocations: 0 / 0.6016 GB, free: 13.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6662, allocations: 4 kB / 0.6016 GB, free: 13.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004339/0.6666, allocations: 0 / 0.6016 GB, free: 13.32 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01827/0.6849, allocations: 7.09 MB / 0.6085 GB, free: 6.145 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.685, allocations: 12.03 kB / 0.6085 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04358/0.7286, allocations: 8.326 MB / 0.6166 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7402, allocations: 4.842 MB / 0.6214 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.7406, allocations: 398.1 kB / 0.6217 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/0.7425, allocations: 0.523 MB / 0.6223 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4742/1.217, allocations: 16.94 MB / 0.6388 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000372/1.217, allocations: 60.62 kB / 0.6389 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/1.219, allocations: 251 kB / 0.6391 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005496/1.224, allocations: 3.259 MB / 0.6423 GB, free: 137.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/1.253, allocations: 14.41 MB / 0.6564 GB, free: 132.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08243/1.336, allocations: 62.57 MB / 0.7175 GB, free: 88.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.352, allocations: 6.967 MB / 0.7243 GB, free: 80.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/1.367, allocations: 9.525 MB / 0.7336 GB, free: 71.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.368, allocations: 60.88 kB / 0.7336 GB, free: 71.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 5.49e-06/1.368, allocations: 0 / 0.7336 GB, free: 71.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.07453/1.442, allocations: 34.13 MB / 0.7669 GB, free: 36.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/1.442, allocations: 240.2 kB / 0.7672 GB, free: 36.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007774/1.45, allocations: 6.963 MB / 0.774 GB, free: 29.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009536/1.451, allocations: 80.42 kB / 0.7741 GB, free: 29.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.453, allocations: 4.808 MB / 0.7788 GB, free: 24.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.455, allocations: 1.259 MB / 0.78 GB, free: 23.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/1.456, allocations: 176.8 kB / 0.7801 GB, free: 23.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003584/1.456, allocations: 0.6823 MB / 0.7808 GB, free: 22.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.461, allocations: 3.812 MB / 0.7845 GB, free: 18.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/1.468, allocations: 8.843 MB / 0.7932 GB, free: 7.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/1.475, allocations: 5.676 MB / 0.7987 GB, free: 1.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.811e-05/1.475, allocations: 52 kB / 0.7988 GB, free: 1.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.02895/1.504, allocations: 14.05 MB / 0.8125 GB, free: 3.668 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.504, allocations: 83.98 kB / 0.8126 GB, free: 3.586 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.505, allocations: 179.9 kB / 0.8127 GB, free: 3.41 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004642/1.509, allocations: 1.805 MB / 0.8145 GB, free: 1.598 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2317/1.741, allocations: 2.094 MB / 0.8165 GB, free: 135.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.755, allocations: 12.39 MB / 0.8286 GB, free: 132.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007286/1.762, allocations: 0.519 MB / 0.8292 GB, free: 132.3 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.764, allocations: 0.5173 MB / 0.8297 GB, free: 132.2 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],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 (1087): * Single equations (assignments): 1080 * Array equations: 5 * 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.005538/1.769, allocations: 3.294 MB / 0.8329 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.77, allocations: 0.5816 MB / 0.8334 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.782, allocations: 7.711 MB / 0.841 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/1.782, allocations: 33.09 kB / 0.841 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/1.783, allocations: 12.83 kB / 0.841 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.093e-05/1.783, allocations: 21.53 kB / 0.841 GB, free: 128.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/1.817, allocations: 16.36 MB / 0.857 GB, free: 122.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/1.817, allocations: 8.891 kB / 0.857 GB, free: 122.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003419/1.821, allocations: 0.5847 MB / 0.8576 GB, free: 122.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004472/1.825, allocations: 1.527 MB / 0.8591 GB, free: 122.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006704/1.826, allocations: 66.16 kB / 0.8591 GB, free: 122 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.84, allocations: 11.58 MB / 0.8705 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.84, allocations: 10.64 kB / 0.8705 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/1.858, allocations: 12.98 MB / 0.8831 GB, free: 110.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003625/1.861, allocations: 1.242 MB / 0.8844 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.863, allocations: 63.12 kB / 0.8844 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/1.865, allocations: 233.2 kB / 0.8846 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/1.866, allocations: 205.2 kB / 0.8848 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.866, allocations: 92.22 kB / 0.8849 GB, free: 109.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005999/1.872, allocations: 4.517 MB / 0.8893 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.3e-07/1.872, allocations: 0 / 0.8893 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.007852/1.88, allocations: 1.735 MB / 0.891 GB, free: 105.9 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.0009642/1.881, allocations: 221.4 kB / 0.8912 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.894, allocations: 9.33 MB / 0.9004 GB, free: 97.29 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.894, allocations: 0 / 0.9004 GB, free: 97.29 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005329/1.899, allocations: 3.801 MB / 0.9041 GB, free: 93.47 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/1.903, allocations: 0.7064 MB / 0.9048 GB, free: 92.79 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.931, allocations: 19.08 MB / 0.9234 GB, free: 73.84 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005386/1.936, allocations: 5.183 MB / 0.9284 GB, free: 68.63 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007016/1.943, allocations: 2.985 MB / 0.9314 GB, free: 65.64 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.945, allocations: 419.3 kB / 0.9318 GB, free: 65.23 MB / 0.4982 GB Notification: Performance of SimCode: time 9.72e-07/1.945, allocations: 0 / 0.9318 GB, free: 65.23 MB / 0.4982 GB Notification: Performance of Templates: time 0.09519/2.04, allocations: 66.39 MB / 0.9966 GB, free: 14.92 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches