Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001337/0.001337, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001431/0.001431, allocations: 205.4 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 39.94 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3365, allocations: 53.38 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01499/0.3515, allocations: 10.33 MB / 441.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3644, allocations: 4.153 MB / 446.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004052/0.3685, allocations: 103.4 kB / 446.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.3762, allocations: 2.807 MB / 449 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.383, allocations: 1.992 MB / 451 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.3864, allocations: 1.033 MB / 452 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009722/0.3961, allocations: 5.608 MB / 457.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006139/0.4023, allocations: 3.065 MB / 460.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.4067, allocations: 1.737 MB / 462.4 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006397/0.4131, allocations: 2.473 MB / 464.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.4153, allocations: 364 kB / 465.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.4187, allocations: 1.151 MB / 466.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.4224, allocations: 2.131 MB / 468.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005141/0.4276, allocations: 1.748 MB / 470.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.4409, allocations: 7.615 MB / 477.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.4409, allocations: 0 / 477.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4409, allocations: 0 / 477.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003417/0.4412, allocations: 0 / 477.9 MB, free: 8.246 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.0181/0.4593, allocations: 5.246 MB / 483.1 MB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.4594, allocations: 8.031 kB / 483.1 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/0.4876, allocations: 3.192 MB / 486.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.4997, allocations: 3.469 MB / 489.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.5001, allocations: 234.1 kB / 490 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.5017, allocations: 323.8 kB / 490.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.5244, allocations: 9.947 MB / 0.4886 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.5246, allocations: 47.64 kB / 0.4886 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005319/0.5252, allocations: 151.9 kB / 0.4888 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/0.529, allocations: 1.908 MB / 0.4906 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.5496, allocations: 8.468 MB / 0.4989 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/0.6107, allocations: 35.34 MB / 0.5334 GB, free: 2.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2854/0.8961, allocations: 3.36 MB / 0.5367 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002688/0.8988, allocations: 2.046 MB / 0.5387 GB, free: 99.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/0.8993, allocations: 212.3 kB / 0.5389 GB, free: 99.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.8993, allocations: 48.66 kB / 0.5389 GB, free: 99.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.639e-06/0.8993, allocations: 4.453 kB / 0.5389 GB, free: 99.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05093/0.9503, allocations: 22.49 MB / 0.5609 GB, free: 86.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.9503, allocations: 251.2 kB / 0.5611 GB, free: 86.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.9541, allocations: 3.944 MB / 0.565 GB, free: 82.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.9544, allocations: 49.7 kB / 0.565 GB, free: 82.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.9556, allocations: 3.23 MB / 0.5682 GB, free: 79.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005711/0.9562, allocations: 0.8047 MB / 0.569 GB, free: 78.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.9575, allocations: 1.261 MB / 0.5702 GB, free: 77.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.9576, allocations: 305.1 kB / 0.5705 GB, free: 77.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/0.9605, allocations: 2.491 MB / 0.5729 GB, free: 74.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.9643, allocations: 6.073 MB / 0.5789 GB, free: 66.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007295/0.9716, allocations: 9.061 MB / 0.5877 GB, free: 56.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.424e-05/0.9717, allocations: 36 kB / 0.5877 GB, free: 56.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01651/0.9882, allocations: 10.51 MB / 0.598 GB, free: 45.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.9883, allocations: 59.98 kB / 0.5981 GB, free: 45.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/0.9884, allocations: 120.9 kB / 0.5982 GB, free: 45.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/0.9946, allocations: 2.596 MB / 0.6007 GB, free: 42.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.9983, allocations: 1.31 MB / 0.602 GB, free: 41.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.017, allocations: 18.06 MB / 0.6196 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/1.022, allocations: 371.5 kB / 0.62 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007795/1.023, allocations: 366.4 kB / 0.6203 GB, free: 22.53 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.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 (709): * Single equations (assignments): 703 * 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 {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002903/1.026, allocations: 2.134 MB / 0.6224 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/1.026, allocations: 357.6 kB / 0.6228 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/1.034, allocations: 4.972 MB / 0.6276 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/1.034, allocations: 20 kB / 0.6276 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.034, allocations: 8 kB / 0.6276 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/1.034, allocations: 7.969 kB / 0.6277 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/1.05, allocations: 9.416 MB / 0.6368 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.05, allocations: 7.875 kB / 0.6369 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.051, allocations: 287.7 kB / 0.6371 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004548/1.056, allocations: 1.838 MB / 0.6389 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.056, allocations: 36 kB / 0.639 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/1.07, allocations: 10.15 MB / 0.6489 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.07, allocations: 0 / 0.6489 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.084, allocations: 8.127 MB / 0.6568 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.085, allocations: 329.5 kB / 0.6571 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/1.086, allocations: 32 kB / 0.6571 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.087, allocations: 135.8 kB / 0.6573 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/1.087, allocations: 132.9 kB / 0.6574 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.088, allocations: 52 kB / 0.6575 GB, free: 348 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003519/1.091, allocations: 2.312 MB / 0.6597 GB, free: 14.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.091, allocations: 0 / 0.6597 GB, free: 14.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005393/1.097, allocations: 1.152 MB / 0.6608 GB, free: 12.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,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 (147): * Single equations (assignments): 143 * 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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005339/1.097, allocations: 170.8 kB / 0.661 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0113/1.108, allocations: 6.245 MB / 0.6671 GB, free: 6.453 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.108, allocations: 0 / 0.6671 GB, free: 6.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003406/1.112, allocations: 2.003 MB / 0.6691 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.115, allocations: 0.4997 MB / 0.6695 GB, free: 3.949 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.134, allocations: 10.46 MB / 0.6798 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004615/1.139, allocations: 2.858 MB / 0.6826 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004496/1.143, allocations: 1.839 MB / 0.6843 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/1.144, allocations: 231.4 kB / 0.6846 GB, free: 4.473 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/1.144, allocations: 0 / 0.6846 GB, free: 4.473 MB / 494.1 MB Notification: Performance of Templates: time 0.287/1.431, allocations: 52.61 MB / 0.7359 GB, free: 177.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.236371996346861]