Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009155, allocations: 107.9 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3273/0.3273, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.000312, allocations: 11.98 kB / 459.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3251, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4526, allocations: 107 MB / 0.614 GB, free: 4.141 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.4529, allocations: 75.95 kB / 0.6141 GB, free: 4.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6598/1.113, allocations: 156.1 MB / 0.7666 GB, free: 77.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.113, allocations: 4 kB / 0.7666 GB, free: 77.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004646/1.113, allocations: 159.3 kB / 0.7667 GB, free: 77.14 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.03177/1.145, allocations: 8.375 MB / 0.7749 GB, free: 70.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.145, allocations: 12.03 kB / 0.7749 GB, free: 70.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0688/1.214, allocations: 11.92 MB / 0.7865 GB, free: 58.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/1.236, allocations: 10.02 MB / 0.7963 GB, free: 48.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/1.236, allocations: 0.5775 MB / 0.7969 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002847/1.239, allocations: 0.7691 MB / 0.7976 GB, free: 47.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03065/1.27, allocations: 18.11 MB / 0.8153 GB, free: 27.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00028/1.27, allocations: 111 kB / 0.8154 GB, free: 27.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/1.271, allocations: 359.8 kB / 0.8158 GB, free: 27.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/1.273, allocations: 1.575 MB / 0.8173 GB, free: 25.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02411/1.297, allocations: 14.57 MB / 0.8315 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3383/1.635, allocations: 75.48 MB / 0.9052 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.652, allocations: 7.304 MB / 0.9124 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/1.652, allocations: 0.6437 MB / 0.913 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.652, allocations: 61.38 kB / 0.9131 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 5.139e-06/1.652, allocations: 0 / 0.9131 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.0662/1.718, allocations: 26.37 MB / 0.9388 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.719, allocations: 291.3 kB / 0.9391 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.729, allocations: 6.529 MB / 0.9455 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004655/1.729, allocations: 61.36 kB / 0.9455 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003302/1.733, allocations: 5.365 MB / 0.9508 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009944/1.734, allocations: 1.002 MB / 0.9517 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/1.734, allocations: 169.3 kB / 0.9519 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003179/1.734, allocations: 0.6618 MB / 0.9526 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003249/1.738, allocations: 2.86 MB / 0.9553 GB, free: 39.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/1.743, allocations: 8.097 MB / 0.9633 GB, free: 32.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006321/1.749, allocations: 4.705 MB / 0.9679 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.749, allocations: 52.72 kB / 0.9679 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.01995/1.769, allocations: 11.52 MB / 0.9791 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.77, allocations: 85.12 kB / 0.9792 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.77, allocations: 188.5 kB / 0.9794 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/1.772, allocations: 1.041 MB / 0.9804 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005837/1.778, allocations: 1.942 MB / 0.9823 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/1.788, allocations: 11.44 MB / 0.9935 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/1.796, allocations: 458 kB / 0.9939 GB, free: 18.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.798, allocations: 0.5181 MB / 0.9944 GB, free: 18.31 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1030): * Single equations (assignments): 1023 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008902/1.807, allocations: 3.527 MB / 0.9979 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/1.809, allocations: 0.6206 MB / 0.9985 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009477/1.819, allocations: 4.517 MB / 1.003 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-05/1.819, allocations: 27.2 kB / 1.003 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-05/1.819, allocations: 12 kB / 1.003 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/1.819, allocations: 12.28 kB / 1.003 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.846, allocations: 12.32 MB / 1.015 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.846, allocations: 2.75 kB / 1.015 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/1.848, allocations: 402.9 kB / 1.015 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/1.85, allocations: 0.7005 MB / 1.016 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003334/1.85, allocations: 44 kB / 1.016 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/1.862, allocations: 10.32 MB / 1.026 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.862, allocations: 3.938 kB / 1.026 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.876, allocations: 7.819 MB / 1.034 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/1.879, allocations: 0.6821 MB / 1.034 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/1.88, allocations: 42.81 kB / 1.035 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.884, allocations: 150 kB / 1.035 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005793/1.884, allocations: 141.9 kB / 1.035 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/1.885, allocations: 64.11 kB / 1.035 GB, free: 140 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009975/1.895, allocations: 4.689 MB / 1.039 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/1.895, allocations: 0 / 1.039 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01053/1.905, allocations: 1.635 MB / 1.041 GB, free: 10.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(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.0009858/1.906, allocations: 193.4 kB / 1.041 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.921, allocations: 7.424 MB / 1.048 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.921, allocations: 4 kB / 1.048 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00407/1.925, allocations: 2.557 MB / 1.051 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005543/1.931, allocations: 0.9093 MB / 1.052 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/1.963, allocations: 18.92 MB / 1.07 GB, free: 180 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01383/1.977, allocations: 5.789 MB / 1.076 GB, free: 11.65 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007232/1.984, allocations: 2.727 MB / 1.079 GB, free: 8.941 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/1.985, allocations: 403 kB / 1.079 GB, free: 8.551 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/1.985, allocations: 0 / 1.079 GB, free: 8.551 MB / 0.573 GB Notification: Performance of Templates: time 0.3997/2.385, allocations: 61.68 MB / 1.139 GB, free: 144.3 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches