Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.331/1.331, allocations: 223.2 MB / 241 MB, free: 11.84 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.0009066/0.0009067, allocations: 95.91 kB / 292.2 MB, free: 10.88 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.3871/0.3871, allocations: 44.22 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 459.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3343, allocations: 61.89 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.4708, allocations: 108 MB / 0.6151 GB, free: 3.055 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4711, allocations: 83.92 kB / 0.6152 GB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5746/1.046, allocations: 121.9 MB / 0.7342 GB, free: 91.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.14e-06/1.046, allocations: 0 / 0.7342 GB, free: 91.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003144/1.046, allocations: 118.5 kB / 0.7344 GB, free: 91.99 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01964/1.066, allocations: 6.376 MB / 0.7406 GB, free: 88.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.066, allocations: 10.88 kB / 0.7406 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/1.092, allocations: 7.004 MB / 0.7474 GB, free: 87.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/1.109, allocations: 6.673 MB / 0.7539 GB, free: 85.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/1.109, allocations: 464.3 kB / 0.7544 GB, free: 85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/1.111, allocations: 0.6187 MB / 0.755 GB, free: 84.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02535/1.136, allocations: 15.19 MB / 0.7698 GB, free: 74.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002182/1.137, allocations: 79.77 kB / 0.7699 GB, free: 74.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009653/1.137, allocations: 293 kB / 0.7702 GB, free: 74.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001478/1.139, allocations: 1.369 MB / 0.7715 GB, free: 72.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/1.161, allocations: 12.54 MB / 0.7838 GB, free: 60.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06319/1.224, allocations: 64.81 MB / 0.8471 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/1.241, allocations: 7.119 MB / 0.854 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/1.241, allocations: 37.41 kB / 0.8541 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.241, allocations: 63.86 kB / 0.8541 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 5.591e-06/1.242, allocations: 0 / 0.8541 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.337/1.579, allocations: 29.55 MB / 0.883 GB, free: 112 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.579, allocations: 209 kB / 0.8832 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009443/1.588, allocations: 5.385 MB / 0.8884 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007149/1.589, allocations: 63.98 kB / 0.8885 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/1.592, allocations: 4.217 MB / 0.8926 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.593, allocations: 0.9849 MB / 0.8936 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/1.593, allocations: 150.7 kB / 0.8937 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003445/1.594, allocations: 0.6242 MB / 0.8943 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/1.597, allocations: 3.186 MB / 0.8974 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006172/1.604, allocations: 7.653 MB / 0.9049 GB, free: 102 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007223/1.611, allocations: 4.824 MB / 0.9096 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/1.611, allocations: 49.52 kB / 0.9097 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02269/1.634, allocations: 12.12 MB / 0.9215 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.634, allocations: 69.5 kB / 0.9216 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/1.634, allocations: 158 kB / 0.9217 GB, free: 96.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004231/1.638, allocations: 1.673 MB / 0.9234 GB, free: 95.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006567/1.645, allocations: 1.824 MB / 0.9251 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.657, allocations: 11.69 MB / 0.9365 GB, free: 89.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00832/1.665, allocations: 464.7 kB / 0.937 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.667, allocations: 468.2 kB / 0.9374 GB, free: 89.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (918): * Single equations (assignments): 913 * 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.00545/1.672, allocations: 2.878 MB / 0.9402 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.674, allocations: 0.5101 MB / 0.9407 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/1.683, allocations: 6.198 MB / 0.9468 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.683, allocations: 28.31 kB / 0.9468 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.683, allocations: 10.59 kB / 0.9468 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.683, allocations: 10.64 kB / 0.9468 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02258/1.705, allocations: 13.74 MB / 0.9603 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.705, allocations: 0 / 0.9603 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.708, allocations: 0.4957 MB / 0.9608 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003252/1.711, allocations: 1.411 MB / 0.9621 GB, free: 80.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003811/1.711, allocations: 47.31 kB / 0.9622 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.722, allocations: 10.91 MB / 0.9728 GB, free: 72.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.722, allocations: 11.94 kB / 0.9728 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.735, allocations: 10.2 MB / 0.9828 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.737, allocations: 0.5788 MB / 0.9834 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008358/1.738, allocations: 44 kB / 0.9834 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.74, allocations: 219.2 kB / 0.9836 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/1.741, allocations: 151.1 kB / 0.9838 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.741, allocations: 68.47 kB / 0.9838 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006293/1.747, allocations: 3.824 MB / 0.9876 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.747, allocations: 0 / 0.9876 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01083/1.758, allocations: 1.475 MB / 0.989 GB, free: 58.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (202): * Single equations (assignments): 197 * 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.001036/1.759, allocations: 199 kB / 0.9892 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.772, allocations: 7.895 MB / 0.9969 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.772, allocations: 0 / 0.9969 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004319/1.776, allocations: 3.216 MB / 1 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/1.78, allocations: 0.66 MB / 1.001 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/1.806, allocations: 16.21 MB / 1.017 GB, free: 32.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007735/1.814, allocations: 4.544 MB / 1.021 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007439/1.821, allocations: 2.585 MB / 1.023 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/1.823, allocations: 347.4 kB / 1.024 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of SimCode: time 2.746e-06/1.823, allocations: 0 / 1.024 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.3772/2.2, allocations: 57.53 MB / 1.08 GB, free: 124.4 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches