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.0009766/0.0009765, allocations: 183 kB / 17.91 MB, free: 3.855 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.155/1.155, allocations: 205.1 MB / 223.7 MB, free: 8.508 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.0008595/0.0008595, allocations: 95.98 kB / 271.2 MB, free: 8.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007643/0.0007645, allocations: 47.92 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1823, allocations: 46.61 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.03758/0.2199, allocations: 57.95 MB / 431.8 MB, free: 7.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.2422, allocations: 11.77 MB / 443.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008102/0.2503, allocations: 247.4 kB / 443.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005296/0.2556, allocations: 3.222 MB / 447 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.2599, allocations: 1.939 MB / 449 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2614, allocations: 0.784 MB / 449.7 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006486/0.2679, allocations: 6.733 MB / 456.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00435/0.2723, allocations: 4.136 MB / 460.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.2742, allocations: 1.557 MB / 462.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.2767, allocations: 2.512 MB / 464.7 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.2772, allocations: 279.9 kB / 465 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.2791, allocations: 1.233 MB / 466.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.2808, allocations: 2.143 MB / 468.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002302/0.2831, allocations: 2.446 MB / 470.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006799/0.2899, allocations: 7.885 MB / 478.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2899, allocations: 0 / 478.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2899, allocations: 3.938 kB / 478.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.29, allocations: 4 kB / 478.7 MB, free: 8.289 MB / 362.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.008622/0.2987, allocations: 5.516 MB / 484.2 MB, free: 2.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2987, allocations: 8.031 kB / 484.2 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008191/0.3069, allocations: 2.225 MB / 486.4 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.3127, allocations: 2.96 MB / 489.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.3129, allocations: 262.8 kB / 489.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/0.3135, allocations: 359.7 kB / 490 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01663/0.3301, allocations: 11.65 MB / 0.4899 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.3303, allocations: 39.59 kB / 0.4899 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006875/0.331, allocations: 171.8 kB / 0.4901 GB, free: 268 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.143/0.474, allocations: 2.333 MB / 0.4924 GB, free: 109.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.4924, allocations: 9.979 MB / 0.5021 GB, free: 105.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0426/0.5351, allocations: 44.49 MB / 0.5455 GB, free: 61.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.5452, allocations: 5.346 MB / 0.5508 GB, free: 55.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002499/0.5477, allocations: 2.811 MB / 0.5535 GB, free: 53.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009807/0.5575, allocations: 8.121 MB / 0.5614 GB, free: 44.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5576, allocations: 55.81 kB / 0.5615 GB, free: 44.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=216): time 4.298e-06/0.5576, allocations: 0 / 0.5615 GB, free: 44.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=237): time 0.0415/0.5991, allocations: 20.78 MB / 0.5818 GB, free: 23.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5992, allocations: 184.2 kB / 0.582 GB, free: 23.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.6049, allocations: 4.765 MB / 0.5866 GB, free: 18.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.6051, allocations: 64.98 kB / 0.5867 GB, free: 18.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.6066, allocations: 3.394 MB / 0.59 GB, free: 15.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.6072, allocations: 0.8868 MB / 0.5909 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.6088, allocations: 1.384 MB / 0.5922 GB, free: 13.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.6089, allocations: 305.1 kB / 0.5925 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.6119, allocations: 2.699 MB / 0.5951 GB, free: 10.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004307/0.6162, allocations: 6.614 MB / 0.6016 GB, free: 1.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.6263, allocations: 10.07 MB / 0.6114 GB, free: 5.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.6264, allocations: 40 kB / 0.6115 GB, free: 5.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01485/0.6413, allocations: 10.18 MB / 0.6214 GB, free: 11.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.6414, allocations: 64 kB / 0.6215 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.6415, allocations: 140 kB / 0.6216 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.6443, allocations: 1.2 MB / 0.6228 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/0.6487, allocations: 1.602 MB / 0.6244 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00791/0.6566, allocations: 6.806 MB / 0.631 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/0.6606, allocations: 379.4 kB / 0.6314 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/0.6611, allocations: 415.9 kB / 0.6318 GB, free: 0.6094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002977/0.6641, allocations: 2.374 MB / 0.6341 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/0.6647, allocations: 411.8 kB / 0.6345 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007617/0.6724, allocations: 4.772 MB / 0.6391 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.6724, allocations: 28 kB / 0.6392 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.6724, allocations: 7.938 kB / 0.6392 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/0.6725, allocations: 11.95 kB / 0.6392 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.156/0.8284, allocations: 10.91 MB / 0.6498 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/0.8285, allocations: 11.14 kB / 0.6498 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/0.8304, allocations: 425 kB / 0.6502 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/0.8328, allocations: 1.024 MB / 0.6512 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/0.8331, allocations: 43.25 kB / 0.6513 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007277/0.8404, allocations: 6.357 MB / 0.6575 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.8404, allocations: 9.562 kB / 0.6575 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06248/0.9029, allocations: 46.39 MB / 0.7028 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.9048, allocations: 0.8342 MB / 0.7036 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/0.9054, allocations: 40 kB / 0.7037 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9072, allocations: 147.8 kB / 0.7038 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.9075, allocations: 154.8 kB / 0.7039 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.9077, allocations: 67.98 kB / 0.704 GB, free: 101.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003501/0.9112, allocations: 3.05 MB / 0.707 GB, free: 98.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9112, allocations: 0 / 0.707 GB, free: 98.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004327/0.9155, allocations: 1.584 MB / 0.7085 GB, free: 97.11 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/0.9159, allocations: 185 kB / 0.7087 GB, free: 96.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00654/0.9224, allocations: 6.504 MB / 0.7151 GB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9224, allocations: 4 kB / 0.7151 GB, free: 90.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002764/0.9252, allocations: 2.409 MB / 0.7174 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.9273, allocations: 499 kB / 0.7179 GB, free: 87.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.9427, allocations: 15.51 MB / 0.733 GB, free: 72.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/0.9463, allocations: 3.757 MB / 0.7367 GB, free: 68.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00458/0.9509, allocations: 2.251 MB / 0.7389 GB, free: 65.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.9519, allocations: 299.4 kB / 0.7392 GB, free: 65.66 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.9519, allocations: 0 / 0.7392 GB, free: 65.66 MB / 426.7 MB Notification: Performance of Templates: time 0.07013/1.022, allocations: 56.26 MB / 0.7941 GB, free: 9.441 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@2/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