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.0007667/0.0007667, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009869/0.001754, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006827/0.0006827, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008894/0.001572, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8702/0.8702, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1485/1.019, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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.462e-06/1.462e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.241e-05, allocations: 6.312 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01636/0.01637, allocations: 11.77 MB / 233.6 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00778/0.02415, allocations: 4.553 MB / 238.2 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.02554, allocations: 99.38 kB / 238.3 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.02833, allocations: 2.955 MB / 241.2 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.03188, allocations: 2.146 MB / 243.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.03331, allocations: 1.08 MB / 244.4 MB, free: 9.465 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.03765, allocations: 5.576 MB / 250 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.03998, allocations: 3.4 MB / 253.4 MB, free: 408 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.04263, allocations: 3.286 MB / 256.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.04482, allocations: 2.588 MB / 259.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.04518, allocations: 396 kB / 259.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.04651, allocations: 1.264 MB / 260.9 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.04773, allocations: 2.116 MB / 263.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.04902, allocations: 1.204 MB / 264.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.05295, allocations: 4.877 MB / 269.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.05297, allocations: 0 / 269.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.05297, allocations: 3.938 kB / 269.1 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.896e-05/0.05303, allocations: 0 / 269.1 MB, free: 0.6367 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.00605/0.05908, allocations: 6.046 MB / 275.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.0591, allocations: 8.031 kB / 275.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.06302, allocations: 1.366 MB / 276.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.0658, allocations: 2.404 MB / 279 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.06591, allocations: 246.7 kB / 279.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000349/0.06626, allocations: 335.7 kB / 279.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004451/0.07071, allocations: 5.092 MB / 284.6 MB, free: 312 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.238e-05/0.07079, allocations: 43.66 kB / 284.7 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.07102, allocations: 163.8 kB / 284.8 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1137/0.1848, allocations: 1.761 MB / 286.6 MB, free: 31.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006123/0.1909, allocations: 2.505 MB / 289.1 MB, free: 31.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.211, allocations: 30.67 MB / 319.8 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.2135, allocations: 1.38 MB / 321.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.2139, allocations: 333.1 kB / 321.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/0.2173, allocations: 3.527 MB / 325 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2174, allocations: 59.22 kB / 325.1 MB, free: 9.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=136): time 4.117e-06/0.2174, allocations: 0 / 325.1 MB, free: 9.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=153): time 0.01292/0.2303, allocations: 6.389 MB / 331.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2303, allocations: 141.5 kB / 331.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.2325, allocations: 3.398 MB / 335 MB, free: 2.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.2326, allocations: 53.7 kB / 335 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.2339, allocations: 3.185 MB / 338.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.2342, allocations: 0.6333 MB / 338.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009419/0.2352, allocations: 1.17 MB / 340 MB, free: 13.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.2352, allocations: 312.4 kB / 340.3 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.2364, allocations: 0.7448 MB / 341.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.2396, allocations: 4.454 MB / 345.5 MB, free: 6.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.244, allocations: 5.632 MB / 351.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.15e-05/0.244, allocations: 40 kB / 351.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004556/0.2486, allocations: 4.334 MB / 355.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.2486, allocations: 60 kB / 355.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-05/0.2487, allocations: 136 kB / 355.7 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.2499, allocations: 0.6553 MB / 356.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.2521, allocations: 1.486 MB / 357.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.2564, allocations: 5.385 MB / 363.3 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.2584, allocations: 275.7 kB / 363.5 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.2586, allocations: 323 kB / 363.8 MB, free: 3.016 MB / 314.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.0009673/0.2596, allocations: 0.6107 MB / 364.4 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.2599, allocations: 219.8 kB / 364.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.2613, allocations: 0.9161 MB / 365.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.2613, allocations: 19.94 kB / 365.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2613, allocations: 4 kB / 365.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2614, allocations: 3.984 kB / 365.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.266, allocations: 4.166 MB / 369.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.266, allocations: 12.84 kB / 369.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.2666, allocations: 251.7 kB / 370 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.2671, allocations: 452 kB / 370.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007046/0.2678, allocations: 417.3 kB / 370.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.2678, allocations: 38.48 kB / 370.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.2693, allocations: 1.903 MB / 372.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.2693, allocations: 11.94 kB / 372.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.2711, allocations: 1.85 MB / 374.7 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.2713, allocations: 36 kB / 374.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.272, allocations: 35.98 kB / 374.8 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.2721, allocations: 108.4 kB / 374.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.2722, allocations: 54.97 kB / 374.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001027/0.2732, allocations: 1.28 MB / 376.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2732, allocations: 0 / 376.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002938/0.2761, allocations: 1.124 MB / 377.3 MB, free: 5.984 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.0003062/0.2764, allocations: 179.4 kB / 377.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.2792, allocations: 2.812 MB / 380.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001676/0.2794, allocations: 110.8 kB / 380.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.2802, allocations: 0.5292 MB / 380.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.2821, allocations: 1.007 MB / 381.9 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.2937, allocations: 8.197 MB / 390.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2948, allocations: 1.332 MB / 391.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.2959, allocations: 0.5125 MB / 392 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008348/0.2968, allocations: 0.5861 MB / 392.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2968, allocations: 0 / 392.6 MB, free: 6.621 MB / 346.7 MB Notification: Performance of Templates: time 0.05013/0.3469, allocations: 37.52 MB / 430.1 MB, free: 1.133 MB / 378.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 -ignoreHideResult -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.64372699894011]