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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 84.39 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 170.8 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9267/0.9267, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.873e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.008825/0.008843, allocations: 11.81 MB / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.0147, allocations: 4.081 MB / 267.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.01584, allocations: 87.62 kB / 267.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.01923, allocations: 3.418 MB / 270.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.02345, allocations: 2.224 MB / 273.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.02486, allocations: 0.916 MB / 274 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004956/0.02981, allocations: 4.934 MB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/0.03342, allocations: 3.591 MB / 282.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.03681, allocations: 3.017 MB / 285.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.039, allocations: 2.49 MB / 288 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004857/0.03948, allocations: 388 kB / 288.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.04089, allocations: 1.237 MB / 289.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.04219, allocations: 2.38 MB / 292 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.04333, allocations: 1.472 MB / 293.5 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.04759, allocations: 5.391 MB / 298.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.04759, allocations: 0 / 298.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.04759, allocations: 0 / 298.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.238e-05/0.04768, allocations: 3.938 kB / 298.9 MB, free: 7.598 MB / 282.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.005898/0.05358, allocations: 5.813 MB / 304.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.05362, allocations: 15.98 kB / 304.7 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.05778, allocations: 1.82 MB / 306.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.06045, allocations: 2.317 MB / 308.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.0606, allocations: 270.9 kB / 309.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.061, allocations: 355.8 kB / 309.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007071/0.06807, allocations: 6.145 MB / 315.6 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.064e-05/0.06815, allocations: 39.64 kB / 315.7 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.06842, allocations: 167.8 kB / 315.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.07007, allocations: 2.058 MB / 317.9 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.07568, allocations: 2.825 MB / 320.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1579/0.2336, allocations: 46.38 MB / 367.1 MB, free: 58.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004572/0.2381, allocations: 2.142 MB / 369.2 MB, free: 58.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.2388, allocations: 0.5976 MB / 369.8 MB, free: 58.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.2434, allocations: 4.262 MB / 374.1 MB, free: 57.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.2434, allocations: 60.36 kB / 374.2 MB, free: 57.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 3.868e-06/0.2434, allocations: 0 / 374.2 MB, free: 57.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=189): time 0.01547/0.2589, allocations: 7.14 MB / 381.3 MB, free: 56.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.259, allocations: 179.2 kB / 381.5 MB, free: 56.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.2618, allocations: 3.842 MB / 385.3 MB, free: 54.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.2618, allocations: 57.78 kB / 385.4 MB, free: 53.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.2631, allocations: 3.844 MB / 389.2 MB, free: 51.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.2635, allocations: 0.7972 MB / 390 MB, free: 50.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009962/0.2645, allocations: 1.476 MB / 391.5 MB, free: 48.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.2646, allocations: 484.7 kB / 392 MB, free: 48.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/0.2655, allocations: 0.6525 MB / 392.6 MB, free: 47.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.2677, allocations: 6.767 MB / 399.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003908/0.2716, allocations: 8.095 MB / 407.5 MB, free: 28.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.632e-05/0.2717, allocations: 40 kB / 407.5 MB, free: 28 MB / 330.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.005671/0.2773, allocations: 5.441 MB / 413 MB, free: 22.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.2774, allocations: 68 kB / 413 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-05/0.2775, allocations: 144 kB / 413.2 MB, free: 22.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007349/0.2782, allocations: 371.8 kB / 413.5 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.2804, allocations: 1.501 MB / 415 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.2821, allocations: 2.78 MB / 417.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.2846, allocations: 291.7 kB / 418.1 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.2849, allocations: 348.7 kB / 418.4 MB, free: 16.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 (834): * Single equations (assignments): 828 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.286, allocations: 0.7159 MB / 419.1 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.2864, allocations: 413.6 kB / 419.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2879, allocations: 1.297 MB / 420.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2879, allocations: 20 kB / 420.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.288, allocations: 4 kB / 420.9 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.288, allocations: 10.84 kB / 420.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006611/0.2946, allocations: 5.454 MB / 426.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.2946, allocations: 8 kB / 426.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/0.2953, allocations: 275.6 kB / 426.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005715/0.2958, allocations: 191.9 kB / 426.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.2959, allocations: 39.98 kB / 426.8 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.2974, allocations: 2.503 MB / 429.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.2974, allocations: 11.94 kB / 429.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.2998, allocations: 2.528 MB / 431.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.3005, allocations: 0.4967 MB / 432.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.3007, allocations: 40 kB / 432.4 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006691/0.3014, allocations: 47.64 kB / 432.5 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3015, allocations: 132.3 kB / 432.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/0.3016, allocations: 43.98 kB / 432.6 MB, free: 2.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.3028, allocations: 1.531 MB / 434.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3028, allocations: 0 / 434.2 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003497/0.3063, allocations: 1.144 MB / 435.3 MB, free: 15.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (161): * Single equations (assignments): 157 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/0.3066, allocations: 202 kB / 435.5 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003815/0.3104, allocations: 3.062 MB / 438.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3104, allocations: 0 / 438.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.3113, allocations: 0.7703 MB / 439.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.3129, allocations: 422.7 kB / 439.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.3242, allocations: 8.549 MB / 448.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.3256, allocations: 1.411 MB / 449.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001595/0.3272, allocations: 0.5338 MB / 450.2 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009479/0.3281, allocations: 0.5919 MB / 450.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3281, allocations: 0 / 450.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Templates: time 0.05138/0.3795, allocations: 33.13 MB / 484 MB, free: 14.82 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.964320139028132]