Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.0009365/0.0009365, 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.001151/0.001151, allocations: 164.7 kB / 25.6 MB, free: 8.895 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.8883/0.8883, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.DoublePendulumInitTip,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.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,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.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.269e-05, allocations: 6.25 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008298/0.008311, allocations: 11.64 MB / 263.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.01302, allocations: 4.348 MB / 267.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005824/0.0136, allocations: 99.44 kB / 267.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.01626, allocations: 3.068 MB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.01843, allocations: 2.173 MB / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.01949, allocations: 1.154 MB / 274 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.02333, allocations: 6.018 MB / 280 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.02586, allocations: 3.789 MB / 283.8 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.02831, allocations: 3.38 MB / 287.1 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.03051, allocations: 2.72 MB / 289.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.03088, allocations: 396 kB / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.03204, allocations: 1.229 MB / 291.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.03325, allocations: 2.365 MB / 293.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009571/0.03421, allocations: 1.48 MB / 295.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.03789, allocations: 5.282 MB / 300.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.03789, allocations: 0 / 300.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.03789, allocations: 0 / 300.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.03793, allocations: 0 / 300.6 MB, free: 5.898 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.005574/0.0435, allocations: 5.654 MB / 306.3 MB, free: 172 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.04354, allocations: 15.98 kB / 306.3 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.05398, allocations: 2.768 MB / 309 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.05694, allocations: 2.574 MB / 311.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.05706, allocations: 254.7 kB / 311.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.05741, allocations: 343.7 kB / 312.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.06273, allocations: 5.612 MB / 317.8 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.537e-05/0.0628, allocations: 43.64 kB / 317.9 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.06305, allocations: 155.9 kB / 318 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00137/0.06442, allocations: 1.76 MB / 319.8 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.06802, allocations: 2.466 MB / 322.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/0.2196, allocations: 42.25 MB / 364.5 MB, free: 62.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.2225, allocations: 1.394 MB / 365.9 MB, free: 62.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000397/0.2229, allocations: 416.1 kB / 366.3 MB, free: 62.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003882/0.2267, allocations: 3.803 MB / 370.1 MB, free: 61.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2268, allocations: 54.17 kB / 370.1 MB, free: 61.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=136): time 2.475e-06/0.2268, allocations: 0 / 370.1 MB, free: 61.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01436/0.2411, allocations: 7.284 MB / 377.4 MB, free: 60.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2412, allocations: 253.8 kB / 377.7 MB, free: 60.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.2434, allocations: 3.791 MB / 381.5 MB, free: 58.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.2435, allocations: 46.02 kB / 381.5 MB, free: 58.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.2447, allocations: 3.636 MB / 385.1 MB, free: 55.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.245, allocations: 0.6653 MB / 385.8 MB, free: 54.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008696/0.2459, allocations: 1.358 MB / 387.2 MB, free: 53.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.2459, allocations: 476.8 kB / 387.6 MB, free: 53.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/0.2466, allocations: 0.574 MB / 388.2 MB, free: 52.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.2484, allocations: 6.25 MB / 394.5 MB, free: 43.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.2514, allocations: 7.328 MB / 401.8 MB, free: 34.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.2515, allocations: 36 kB / 401.8 MB, free: 34.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004344/0.2558, allocations: 5.082 MB / 406.9 MB, free: 29.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.2559, allocations: 64 kB / 407 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/0.2559, allocations: 137.2 kB / 407.1 MB, free: 29.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.2571, allocations: 0.6607 MB / 407.8 MB, free: 28.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.2587, allocations: 1.341 MB / 409.1 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.262, allocations: 7.09 MB / 416.2 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.2638, allocations: 275.7 kB / 416.5 MB, free: 19.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.264, allocations: 328 kB / 416.8 MB, free: 19.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (746): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,9,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007223/0.2647, allocations: 0.6535 MB / 417.4 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.265, allocations: 393.6 kB / 417.8 MB, free: 17.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.2661, allocations: 1.028 MB / 418.8 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2661, allocations: 20 kB / 418.9 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2661, allocations: 0 / 418.9 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2661, allocations: 7.984 kB / 418.9 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.2707, allocations: 4.913 MB / 423.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.2707, allocations: 8 kB / 423.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.2711, allocations: 215.7 kB / 424 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.2716, allocations: 235.5 kB / 424.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.2717, allocations: 35.98 kB / 424.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.2729, allocations: 2.477 MB / 426.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2729, allocations: 11.94 kB / 426.8 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.2744, allocations: 2.186 MB / 428.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.2748, allocations: 485.3 kB / 429.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.275, allocations: 32 kB / 429.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.2756, allocations: 43.92 kB / 429.5 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2758, allocations: 116.3 kB / 429.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/0.2758, allocations: 36 kB / 429.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2769, allocations: 1.562 MB / 431.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2769, allocations: 0 / 431.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002578/0.2794, allocations: 1.121 MB / 432.3 MB, free: 3.059 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (revolute1.w,damper.phi_rel,revolute2.phi,revolute2.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 (127): * Single equations (assignments): 123 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.2797, allocations: 194.8 kB / 432.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.2821, allocations: 3.17 MB / 435.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2821, allocations: 0 / 435.7 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.2827, allocations: 0.6438 MB / 436.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.2842, allocations: 0.5293 MB / 436.9 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.2932, allocations: 8.138 MB / 445 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.2944, allocations: 1.334 MB / 446.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001106/0.2955, allocations: 0.5164 MB / 446.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008504/0.2963, allocations: 0.6386 MB / 447.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2963, allocations: 0 / 447.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of Templates: time 0.04974/0.3461, allocations: 36.76 MB / 484.2 MB, free: 14.86 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.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.932854793034494]