Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 141.6 kB / 24.89 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9303/0.9303, allocations: 173.4 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/2.027e-05, allocations: 2.312 kB / 268.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009063/0.009084, allocations: 11.31 MB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007215/0.0163, allocations: 4.423 MB / 284.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01735, allocations: 99.38 kB / 284.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.02012, allocations: 3.044 MB / 287.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.02309, allocations: 2.107 MB / 289.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1096/0.1327, allocations: 1.144 MB / 290.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.1388, allocations: 6.202 MB / 296.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003482/0.1423, allocations: 3.59 MB / 300.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.1456, allocations: 3.562 MB / 304 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.1475, allocations: 2.514 MB / 306.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.1478, allocations: 384.6 kB / 306.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.149, allocations: 1.249 MB / 308.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009269/0.1499, allocations: 2.301 MB / 310.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009718/0.1509, allocations: 1.423 MB / 311.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.1538, allocations: 5.133 MB / 317 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1538, allocations: 0 / 317 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1538, allocations: 0 / 317 MB, free: 6.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.1538, allocations: 0 / 317 MB, free: 6.301 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.003931/0.1577, allocations: 4.911 MB / 321.9 MB, free: 1.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1578, allocations: 8.922 kB / 321.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.1613, allocations: 1.316 MB / 323.2 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.1638, allocations: 2.334 MB / 325.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1639, allocations: 244.8 kB / 325.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.1643, allocations: 331.4 kB / 326.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00514/0.1694, allocations: 4.949 MB / 331.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-05/0.1695, allocations: 44.52 kB / 331.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.1698, allocations: 155.2 kB / 331.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001387/0.1712, allocations: 1.692 MB / 333 MB, free: 6.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003935/0.1751, allocations: 2.426 MB / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/0.1959, allocations: 30 MB / 365.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.1989, allocations: 1.363 MB / 366.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.1993, allocations: 316.9 kB / 367.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00396/0.2032, allocations: 3.431 MB / 370.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2033, allocations: 51.2 kB / 370.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 2.815e-06/0.2033, allocations: 0 / 370.5 MB, free: 1.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01387/0.2171, allocations: 5.953 MB / 376.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.2172, allocations: 256.3 kB / 376.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.2196, allocations: 3.337 MB / 380.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.2197, allocations: 45.7 kB / 380.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.2211, allocations: 3.101 MB / 383.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.2214, allocations: 0.6048 MB / 383.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008481/0.2223, allocations: 1.128 MB / 385 MB, free: 3.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.2223, allocations: 313 kB / 385.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.2234, allocations: 0.7188 MB / 386 MB, free: 2.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.2262, allocations: 4.357 MB / 390.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/0.2307, allocations: 5.508 MB / 395.9 MB, free: 5.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-05/0.2307, allocations: 40 kB / 395.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.005754/0.2365, allocations: 4.226 MB / 400.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.2365, allocations: 60 kB / 400.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/0.2367, allocations: 128 kB / 400.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.2381, allocations: 0.6572 MB / 401 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.2403, allocations: 1.353 MB / 402.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004523/0.2448, allocations: 5.384 MB / 407.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.2469, allocations: 259.8 kB / 407.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.2471, allocations: 308 kB / 408.2 MB, free: 8.539 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (723): * Single equations (assignments): 717 * 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.001036/0.2482, allocations: 0.6146 MB / 408.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.2485, allocations: 211.8 kB / 409.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.2496, allocations: 0.8556 MB / 409.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.2496, allocations: 16 kB / 409.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2496, allocations: 7.938 kB / 410 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2496, allocations: 3.984 kB / 410 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.2543, allocations: 4.024 MB / 414 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.2543, allocations: 8 kB / 414 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.2549, allocations: 207.7 kB / 414.2 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/0.2556, allocations: 421 kB / 414.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.2557, allocations: 28 kB / 414.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.2573, allocations: 1.917 MB / 416.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.2573, allocations: 12.03 kB / 416.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.259, allocations: 1.783 MB / 418.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.2594, allocations: 333.5 kB / 418.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.2596, allocations: 39.92 kB / 418.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.2602, allocations: 31.98 kB / 418.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.2604, allocations: 104.3 kB / 418.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.2604, allocations: 47.98 kB / 418.9 MB, free: 13.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.2615, allocations: 1.248 MB / 420.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2615, allocations: 0 / 420.1 MB, free: 12.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003226/0.2647, allocations: 1.09 MB / 421.2 MB, free: 11.17 MB / 378.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 (116): * Single equations (assignments): 112 * 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.0002927/0.265, allocations: 179.9 kB / 421.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.2677, allocations: 2.729 MB / 424.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000144/0.2678, allocations: 100.5 kB / 424.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2683, allocations: 0.5147 MB / 424.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.2701, allocations: 0.7266 MB / 425.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/0.3819, allocations: 7.729 MB / 433.2 MB, free: 114 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.3839, allocations: 1.276 MB / 434.5 MB, free: 113.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.3855, allocations: 0.4907 MB / 435 MB, free: 113.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.3866, allocations: 0.5769 MB / 435.5 MB, free: 113.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.236e-06/0.3866, allocations: 3.969 kB / 435.5 MB, free: 113.7 MB / 378.7 MB Notification: Performance of Templates: time 0.04887/0.4354, allocations: 35.48 MB / 471 MB, free: 95.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.717876282054931]