Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009529/0.0009529, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8922/0.8922, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.297e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01056/0.01057, allocations: 11.13 MB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007433/0.018, allocations: 4.412 MB / 288.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009876/0.01899, allocations: 103.4 kB / 289 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.103/0.122, allocations: 3.054 MB / 292.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.1255, allocations: 2.096 MB / 294.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.1269, allocations: 1.157 MB / 295.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.1316, allocations: 6.319 MB / 301.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.1338, allocations: 3.786 MB / 305.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.1362, allocations: 3.604 MB / 309.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.1378, allocations: 2.494 MB / 311.5 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.1381, allocations: 376.9 kB / 311.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.139, allocations: 1.19 MB / 313.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008326/0.1399, allocations: 2.243 MB / 315.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007995/0.1407, allocations: 1.396 MB / 316.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.1433, allocations: 5.025 MB / 321.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1433, allocations: 0 / 321.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1433, allocations: 0 / 321.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.1433, allocations: 0 / 321.8 MB, free: 15.11 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.004571/0.1479, allocations: 4.848 MB / 326.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.1479, allocations: 11.98 kB / 326.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.1514, allocations: 1.308 MB / 327.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.1538, allocations: 2.315 MB / 330.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.154, allocations: 238.6 kB / 330.5 MB, free: 6.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/0.1543, allocations: 321.6 kB / 330.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.1586, allocations: 4.904 MB / 335.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.265e-05/0.1587, allocations: 54.28 kB / 335.8 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.1589, allocations: 150.5 kB / 335.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001324/0.1602, allocations: 1.636 MB / 337.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00328/0.1635, allocations: 2.408 MB / 339.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01753/0.181, allocations: 29.67 MB / 369.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.1838, allocations: 1.355 MB / 371 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1842, allocations: 330.1 kB / 371.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003699/0.1879, allocations: 3.422 MB / 374.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1879, allocations: 51.09 kB / 374.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 2.325e-06/0.1879, allocations: 0 / 374.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=143): time 0.01271/0.2006, allocations: 5.911 MB / 380.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.2007, allocations: 244.3 kB / 380.9 MB, free: 3.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.2029, allocations: 3.322 MB / 384.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.203, allocations: 41.7 kB / 384.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.2041, allocations: 3.074 MB / 387.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.2044, allocations: 0.597 MB / 387.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000837/0.2053, allocations: 1.136 MB / 389.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.2053, allocations: 301.1 kB / 389.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2065, allocations: 0.7266 MB / 390.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.2088, allocations: 4.356 MB / 394.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003329/0.2122, allocations: 5.499 MB / 400 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-05/0.2122, allocations: 36 kB / 400 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.004196/0.2164, allocations: 4.234 MB / 404.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.2164, allocations: 60 kB / 404.3 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.125e-05/0.2165, allocations: 132 kB / 404.4 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.2178, allocations: 0.6528 MB / 405.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.2196, allocations: 1.294 MB / 406.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.2236, allocations: 5.368 MB / 411.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.2252, allocations: 263.8 kB / 412 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.2255, allocations: 312 kB / 412.3 MB, free: 484 kB / 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.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.0007303/0.2262, allocations: 0.5992 MB / 412.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.2265, allocations: 211.8 kB / 413.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.2275, allocations: 0.8594 MB / 414 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.2275, allocations: 16 kB / 414 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2276, allocations: 4 kB / 414 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.2276, allocations: 3.984 kB / 414 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.2317, allocations: 3.976 MB / 418 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2317, allocations: 8.156 kB / 418 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.2321, allocations: 199.7 kB / 418.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007013/0.2328, allocations: 417.1 kB / 418.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.2329, allocations: 35.98 kB / 418.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.2342, allocations: 1.905 MB / 420.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2342, allocations: 11.94 kB / 420.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.2358, allocations: 1.784 MB / 422.3 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.2361, allocations: 333.5 kB / 422.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.2363, allocations: 31.98 kB / 422.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.2369, allocations: 39.98 kB / 422.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.237, allocations: 104.2 kB / 422.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.237, allocations: 43.98 kB / 422.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009312/0.2379, allocations: 1.248 MB / 424.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2379, allocations: 0 / 424.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002271/0.2402, allocations: 1.062 MB / 425.2 MB, free: 3.207 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.0002428/0.2405, allocations: 168 kB / 425.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2427, allocations: 2.728 MB / 428 MB, free: 284 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001356/0.2428, allocations: 96.16 kB / 428.1 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2433, allocations: 0.5041 MB / 428.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.2449, allocations: 0.7433 MB / 429.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.2518, allocations: 7.604 MB / 437 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009523/0.2527, allocations: 1.259 MB / 438.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000935/0.2536, allocations: 499.9 kB / 438.7 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.2544, allocations: 0.5791 MB / 439.3 MB, free: 4.793 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2544, allocations: 0 / 439.3 MB, free: 4.793 MB / 394.7 MB Notification: Performance of Templates: time 0.1314/0.3858, allocations: 35.2 MB / 474.5 MB, free: 114.3 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.4785055182874203]