Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009457/0.0009458, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009906/0.0009907, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.903e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09888, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.4974, allocations: 100.2 MB / 470.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.4977, allocations: 88.31 kB / 470.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4778/0.9755, allocations: 97.69 MB / 0.5547 GB, free: 91.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.9756, allocations: 5.719 kB / 0.5547 GB, free: 91.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002115/0.9758, allocations: 91.67 kB / 0.5548 GB, free: 91.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01663/0.9924, allocations: 4.671 MB / 0.5593 GB, free: 89.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9925, allocations: 10.84 kB / 0.5593 GB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/1.01, allocations: 4.503 MB / 0.5637 GB, free: 89.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/1.024, allocations: 5.061 MB / 0.5687 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/1.024, allocations: 359.9 kB / 0.569 GB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00252/1.027, allocations: 480.5 kB / 0.5695 GB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/1.059, allocations: 11.97 MB / 0.5812 GB, free: 84.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004279/1.059, allocations: 58.53 kB / 0.5812 GB, free: 84.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/1.062, allocations: 234.8 kB / 0.5814 GB, free: 84.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002002/1.064, allocations: 1.202 MB / 0.5826 GB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/1.086, allocations: 9.826 MB / 0.5922 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06421/1.15, allocations: 52.97 MB / 0.6439 GB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.162, allocations: 5.187 MB / 0.649 GB, free: 28.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003146/1.165, allocations: 2.604 MB / 0.6516 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01461/1.18, allocations: 8.042 MB / 0.6594 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/1.18, allocations: 59.88 kB / 0.6595 GB, free: 17.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.913e-06/1.18, allocations: 0 / 0.6595 GB, free: 17.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.03997/1.22, allocations: 16.7 MB / 0.6758 GB, free: 1.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.22, allocations: 180.2 kB / 0.6759 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006943/1.227, allocations: 4.179 MB / 0.68 GB, free: 12.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006126/1.228, allocations: 65.64 kB / 0.6801 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.231, allocations: 3.425 MB / 0.6834 GB, free: 9.176 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.232, allocations: 0.8936 MB / 0.6843 GB, free: 8.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/1.233, allocations: 132 kB / 0.6844 GB, free: 8.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000477/1.233, allocations: 0.5831 MB / 0.685 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003997/1.237, allocations: 2.461 MB / 0.6874 GB, free: 5.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2766/1.514, allocations: 6.341 MB / 0.6936 GB, free: 93.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008919/1.523, allocations: 3.923 MB / 0.6974 GB, free: 93.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002419/1.523, allocations: 39.16 kB / 0.6975 GB, free: 93.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.0256/1.549, allocations: 9.388 MB / 0.7066 GB, free: 92.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.549, allocations: 67.58 kB / 0.7067 GB, free: 92.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003099/1.549, allocations: 137 kB / 0.7068 GB, free: 92.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/1.552, allocations: 0.9213 MB / 0.7077 GB, free: 92.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/1.558, allocations: 1.598 MB / 0.7093 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/1.564, allocations: 5.771 MB / 0.7149 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/1.57, allocations: 387.7 kB / 0.7153 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.572, allocations: 399.4 kB / 0.7157 GB, free: 91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001227/1.573, allocations: 0.6085 MB / 0.7163 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/1.574, allocations: 424.6 kB / 0.7167 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/1.581, allocations: 4.249 MB / 0.7208 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/1.581, allocations: 29.81 kB / 0.7208 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.581, allocations: 3.875 kB / 0.7208 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/1.581, allocations: 12.42 kB / 0.7209 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.601, allocations: 10.35 MB / 0.731 GB, free: 86.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.601, allocations: 3.906 kB / 0.731 GB, free: 86.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.603, allocations: 476.5 kB / 0.7314 GB, free: 86.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/1.605, allocations: 0.714 MB / 0.7321 GB, free: 86.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/1.605, allocations: 44.33 kB / 0.7322 GB, free: 86.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/1.611, allocations: 5.303 MB / 0.7373 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.611, allocations: 11.19 kB / 0.7374 GB, free: 83.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.621, allocations: 8.241 MB / 0.7454 GB, free: 79.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.624, allocations: 0.8188 MB / 0.7462 GB, free: 79.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008487/1.625, allocations: 47.16 kB / 0.7462 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.627, allocations: 144.5 kB / 0.7464 GB, free: 78.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.627, allocations: 151 kB / 0.7465 GB, free: 78.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.627, allocations: 61.03 kB / 0.7466 GB, free: 78.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004862/1.632, allocations: 2.993 MB / 0.7495 GB, free: 77.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.632, allocations: 0 / 0.7495 GB, free: 77.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006765/1.639, allocations: 1.152 MB / 0.7506 GB, free: 77.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006228/1.64, allocations: 194.9 kB / 0.7508 GB, free: 77.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009331/1.649, allocations: 6.052 MB / 0.7567 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/1.649, allocations: 3.281 kB / 0.7567 GB, free: 75.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003285/1.652, allocations: 2.239 MB / 0.7589 GB, free: 74.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.655, allocations: 475.8 kB / 0.7594 GB, free: 74.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.673, allocations: 9.255 MB / 0.7684 GB, free: 67.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/1.677, allocations: 3.777 MB / 0.7721 GB, free: 64.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005844/1.683, allocations: 2.217 MB / 0.7743 GB, free: 63.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.684, allocations: 289.5 kB / 0.7745 GB, free: 63.03 MB / 426.7 MB Notification: Performance of SimCode: time 2.805e-06/1.684, allocations: 0 / 0.7745 GB, free: 63.03 MB / 426.7 MB Notification: Performance of Templates: time 0.0711/1.755, allocations: 41.97 MB / 0.8155 GB, free: 26.86 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches