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.001505/0.001505, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001563/0.001563, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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 1.623e-06/1.623e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.491e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01567/0.01569, allocations: 10.35 MB / 282.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.02685, allocations: 4.152 MB / 286.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.02891, allocations: 103.4 kB / 286.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006908/0.03582, allocations: 2.982 MB / 289.9 MB, free: 168 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1367/0.1725, allocations: 2.041 MB / 292 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.1754, allocations: 1.141 MB / 293.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.1857, allocations: 6.333 MB / 299.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005058/0.1907, allocations: 3.697 MB / 303.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.1947, allocations: 2.639 MB / 305.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.1975, allocations: 2.576 MB / 308.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005586/0.1981, allocations: 380.3 kB / 308.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1999, allocations: 1.203 MB / 309.9 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.2012, allocations: 2.235 MB / 312.2 MB, free: 7.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.2024, allocations: 1.393 MB / 313.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006241/0.2086, allocations: 7.749 MB / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2086, allocations: 0 / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2086, allocations: 0 / 321.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.2088, allocations: 0 / 321.3 MB, free: 15.16 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01225/0.221, allocations: 5.345 MB / 326.6 MB, free: 9.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2211, allocations: 12.03 kB / 326.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02573/0.2468, allocations: 3.756 MB / 330.4 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009607/0.2564, allocations: 3.465 MB / 333.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.2567, allocations: 237.6 kB / 334.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.2578, allocations: 332.5 kB / 334.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0212/0.279, allocations: 10.06 MB / 344.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.2791, allocations: 53.64 kB / 344.5 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005373/0.2797, allocations: 154 kB / 344.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004167/0.2838, allocations: 1.902 MB / 346.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.3025, allocations: 8.567 MB / 355.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05583/0.3583, allocations: 35.97 MB / 391.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008967/0.3673, allocations: 3.045 MB / 394.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.3708, allocations: 2.09 MB / 396.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006167/0.3714, allocations: 227.5 kB / 396.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.3715, allocations: 58.17 kB / 396.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 3.998e-06/0.3715, allocations: 0 / 396.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=202): time 0.09834/0.4698, allocations: 31.89 MB / 428.4 MB, free: 3.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002282/0.4701, allocations: 256.6 kB / 428.7 MB, free: 3.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1364/0.6064, allocations: 4.084 MB / 432.8 MB, free: 120.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005623/0.607, allocations: 56.55 kB / 432.8 MB, free: 120.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.6093, allocations: 3.177 MB / 436 MB, free: 119.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001322/0.6106, allocations: 0.8045 MB / 436.8 MB, free: 119.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004159/0.6148, allocations: 1.238 MB / 438 MB, free: 118.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.6149, allocations: 303.1 kB / 438.3 MB, free: 118.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/0.6198, allocations: 2.775 MB / 441.1 MB, free: 117.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006638/0.6264, allocations: 6.338 MB / 447.5 MB, free: 111.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.6369, allocations: 9.61 MB / 457.1 MB, free: 104.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000245/0.6372, allocations: 33.72 kB / 457.1 MB, free: 104.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02554/0.6627, allocations: 12.7 MB / 469.8 MB, free: 98.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.6629, allocations: 56 kB / 469.9 MB, free: 98.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002072/0.6631, allocations: 120 kB / 470 MB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/0.676, allocations: 4.856 MB / 474.8 MB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.6798, allocations: 1.275 MB / 476.1 MB, free: 92.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02978/0.7096, allocations: 25.56 MB / 0.4899 GB, free: 66.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/0.7158, allocations: 479.4 kB / 0.4904 GB, free: 66.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001245/0.7171, allocations: 362.7 kB / 0.4907 GB, free: 66.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (691): * Single equations (assignments): 685 * 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,37,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.004378/0.7215, allocations: 2.134 MB / 0.4928 GB, free: 63.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/0.7235, allocations: 405.7 kB / 0.4932 GB, free: 63.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.735, allocations: 6.291 MB / 0.4993 GB, free: 57.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/0.735, allocations: 20.88 kB / 0.4993 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/0.7351, allocations: 11.94 kB / 0.4994 GB, free: 57.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.7351, allocations: 7.969 kB / 0.4994 GB, free: 57.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/0.7562, allocations: 11.47 MB / 0.5106 GB, free: 45.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.7563, allocations: 0 / 0.5106 GB, free: 45.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.7576, allocations: 303.5 kB / 0.5108 GB, free: 45.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007607/0.7652, allocations: 2.954 MB / 0.5137 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.7655, allocations: 31.98 kB / 0.5138 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7801, allocations: 12.58 MB / 0.526 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7801, allocations: 0 / 0.526 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/0.7943, allocations: 9.924 MB / 0.5357 GB, free: 19.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.7956, allocations: 369.5 kB / 0.5361 GB, free: 19.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/0.7966, allocations: 32 kB / 0.5361 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/0.7993, allocations: 251.6 kB / 0.5364 GB, free: 19.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006004/0.7999, allocations: 127.2 kB / 0.5365 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.8001, allocations: 53.25 kB / 0.5365 GB, free: 18.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004073/0.8042, allocations: 2.436 MB / 0.5389 GB, free: 16.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.8042, allocations: 4 kB / 0.5389 GB, free: 16.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006782/0.811, allocations: 1.414 MB / 0.5403 GB, free: 15.08 MB / 378.7 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 (146): * Single equations (assignments): 142 * 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 {(3,34,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006698/0.8116, allocations: 179.9 kB / 0.5405 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009746/0.8214, allocations: 6.973 MB / 0.5473 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8214, allocations: 0 / 0.5473 GB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003205/0.8246, allocations: 2.362 MB / 0.5496 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.8293, allocations: 0.5321 MB / 0.5501 GB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.8497, allocations: 10.65 MB / 0.5605 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.145/0.9946, allocations: 2.865 MB / 0.5633 GB, free: 120.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004915/0.9996, allocations: 1.817 MB / 0.5651 GB, free: 120.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008902/1, allocations: 232 kB / 0.5653 GB, free: 120.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/1, allocations: 0 / 0.5653 GB, free: 120.6 MB / 394.7 MB Notification: Performance of Templates: time 0.07569/1.076, allocations: 56.04 MB / 0.62 GB, free: 83.86 MB / 394.7 MB " [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.025319542968646]