Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.237/1.237, allocations: 221.3 MB / 236 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.0009068, allocations: 90.67 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1723/0.1723, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.648e-05, allocations: 8.219 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 61.89 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4866, allocations: 109 MB / 0.6081 GB, free: 12.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4868, allocations: 75.95 kB / 0.6082 GB, free: 12.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.532/1.019, allocations: 126.4 MB / 0.7316 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/1.019, allocations: 3.391 kB / 0.7316 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003813/1.019, allocations: 126.1 kB / 0.7318 GB, free: 110.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02004/1.039, allocations: 6.357 MB / 0.738 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.039, allocations: 12.84 kB / 0.738 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/1.065, allocations: 7.07 MB / 0.7449 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01634/1.082, allocations: 6.963 MB / 0.7517 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/1.082, allocations: 482.2 kB / 0.7521 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/1.085, allocations: 0.6251 MB / 0.7528 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.111, allocations: 15.61 MB / 0.768 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/1.112, allocations: 85.12 kB / 0.7681 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009262/1.113, allocations: 307 kB / 0.7684 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/1.114, allocations: 1.471 MB / 0.7698 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02076/1.135, allocations: 12.59 MB / 0.7821 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05544/1.19, allocations: 70.61 MB / 0.8511 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/1.206, allocations: 7.117 MB / 0.858 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00362/1.209, allocations: 3.549 MB / 0.8615 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/1.221, allocations: 8.805 MB / 0.8701 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.221, allocations: 63.91 kB / 0.8701 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 4.689e-06/1.221, allocations: 4 kB / 0.8701 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.0577/1.279, allocations: 26.43 MB / 0.896 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/1.279, allocations: 235.6 kB / 0.8962 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008225/1.287, allocations: 5.87 MB / 0.9019 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006351/1.288, allocations: 69.7 kB / 0.902 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003086/1.291, allocations: 4.538 MB / 0.9064 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.292, allocations: 1.098 MB / 0.9075 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/1.292, allocations: 172 kB / 0.9077 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004068/1.293, allocations: 0.6654 MB / 0.9083 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004291/1.297, allocations: 3.222 MB / 0.9115 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2549/1.552, allocations: 8.22 MB / 0.9195 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008355/1.56, allocations: 5.101 MB / 0.9245 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000318/1.561, allocations: 51.66 kB / 0.9245 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02421/1.585, allocations: 12.68 MB / 0.9369 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.585, allocations: 77.97 kB / 0.937 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/1.585, allocations: 177.4 kB / 0.9371 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/1.589, allocations: 1.67 MB / 0.9388 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006111/1.595, allocations: 1.999 MB / 0.9407 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/1.606, allocations: 11.19 MB / 0.9516 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/1.613, allocations: 0.4897 MB / 0.9521 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/1.614, allocations: 0.5068 MB / 0.9526 GB, free: 107.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1026 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001328/1.616, allocations: 0.7669 MB / 0.9534 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009374/1.617, allocations: 0.5647 MB / 0.9539 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/1.626, allocations: 6.217 MB / 0.96 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/1.626, allocations: 32.69 kB / 0.96 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/1.626, allocations: 10.75 kB / 0.96 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/1.626, allocations: 13.73 kB / 0.96 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02292/1.649, allocations: 14.17 MB / 0.9739 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.649, allocations: 3.438 kB / 0.9739 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/1.652, allocations: 0.5327 MB / 0.9744 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/1.656, allocations: 1.4 MB / 0.9758 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.656, allocations: 53.61 kB / 0.9758 GB, free: 99.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.668, allocations: 10.41 MB / 0.986 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.668, allocations: 5.156 kB / 0.986 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.682, allocations: 10.96 MB / 0.9967 GB, free: 89.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.684, allocations: 0.639 MB / 0.9973 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.685, allocations: 51.05 kB / 0.9974 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/1.687, allocations: 191.7 kB / 0.9976 GB, free: 89.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/1.688, allocations: 174.8 kB / 0.9977 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.688, allocations: 76.41 kB / 0.9978 GB, free: 89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006436/1.695, allocations: 4.198 MB / 1.002 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/1.695, allocations: 0 / 1.002 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007264/1.702, allocations: 1.546 MB / 1.003 GB, free: 87.39 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006034/1.702, allocations: 204.2 kB / 1.004 GB, free: 87.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.713, allocations: 8.048 MB / 1.011 GB, free: 81.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.713, allocations: 4 kB / 1.011 GB, free: 81.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004472/1.718, allocations: 3.152 MB / 1.015 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.721, allocations: 0.7043 MB / 1.015 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/1.739, allocations: 12.4 MB / 1.027 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.743, allocations: 4.766 MB / 1.032 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005976/1.749, allocations: 2.813 MB / 1.035 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.751, allocations: 382.5 kB / 1.035 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/1.751, allocations: 0 / 1.035 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.09095/1.842, allocations: 60.7 MB / 1.094 GB, free: 7.969 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches