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.001138/0.001138, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001049/0.001049, allocations: 163 kB / 25.7 MB, free: 8.406 MB / 18.57 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.8479/0.8479, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.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.373e-06/1.373e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.746e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01309/0.01311, allocations: 11.69 MB / 263.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.02193, allocations: 4.522 MB / 267.8 MB, free: 6.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008598/0.02279, allocations: 99.44 kB / 267.9 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.02554, allocations: 3.06 MB / 270.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.02868, allocations: 2.169 MB / 273.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.03029, allocations: 1.146 MB / 274.3 MB, free: 448 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.03608, allocations: 5.996 MB / 280.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.03954, allocations: 3.653 MB / 283.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.04294, allocations: 3.283 MB / 287.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.0456, allocations: 2.603 MB / 289.8 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.04606, allocations: 396 kB / 290.2 MB, free: 416 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.04767, allocations: 1.264 MB / 291.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.04932, allocations: 2.365 MB / 293.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.05066, allocations: 1.476 MB / 295.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005061/0.05572, allocations: 5.294 MB / 300.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.05572, allocations: 0 / 300.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05573, allocations: 0 / 300.6 MB, free: 5.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.717e-05/0.05577, allocations: 0 / 300.6 MB, free: 5.977 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.006244/0.06202, allocations: 5.03 MB / 305.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.06205, allocations: 11.98 kB / 305.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/0.06755, allocations: 1.347 MB / 307 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.07093, allocations: 2.4 MB / 309.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.07109, allocations: 242.7 kB / 309.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004786/0.07157, allocations: 343.7 kB / 309.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005678/0.07725, allocations: 5.092 MB / 315 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/0.07733, allocations: 43.69 kB / 315.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.07758, allocations: 163.8 kB / 315.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001396/0.07897, allocations: 1.76 MB / 317 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.08266, allocations: 2.501 MB / 319.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.1054, allocations: 30.67 MB / 350.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.1085, allocations: 1.402 MB / 351.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.1089, allocations: 326.3 kB / 351.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1151/0.224, allocations: 3.536 MB / 355.4 MB, free: 95.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.224, allocations: 54.95 kB / 355.5 MB, free: 95.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=136): time 3.968e-06/0.224, allocations: 0 / 355.5 MB, free: 95.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01888/0.2429, allocations: 6.506 MB / 362 MB, free: 94.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.2429, allocations: 247.1 kB / 362.2 MB, free: 94.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.2457, allocations: 3.405 MB / 365.6 MB, free: 94.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/0.2458, allocations: 45.33 kB / 365.7 MB, free: 94.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009974/0.2468, allocations: 3.185 MB / 368.9 MB, free: 91.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.2471, allocations: 0.6454 MB / 369.5 MB, free: 91.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.2481, allocations: 1.169 MB / 370.7 MB, free: 91.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.2481, allocations: 305.1 kB / 371 MB, free: 90.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.2494, allocations: 0.7463 MB / 371.7 MB, free: 90.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.2514, allocations: 4.46 MB / 376.2 MB, free: 84.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.2542, allocations: 5.624 MB / 381.8 MB, free: 77.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.49e-05/0.2543, allocations: 40 kB / 381.9 MB, free: 77.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.004058/0.2583, allocations: 4.336 MB / 386.2 MB, free: 73.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.2584, allocations: 60 kB / 386.2 MB, free: 72.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-05/0.2584, allocations: 132 kB / 386.4 MB, free: 72.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.2596, allocations: 0.658 MB / 387 MB, free: 72.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.2615, allocations: 1.392 MB / 388.4 MB, free: 70.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.2649, allocations: 5.399 MB / 393.8 MB, free: 65.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.2668, allocations: 275.7 kB / 394.1 MB, free: 64.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.2671, allocations: 316 kB / 394.4 MB, free: 64.53 MB / 330.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.000969/0.268, allocations: 0.6172 MB / 395 MB, free: 63.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.2683, allocations: 219.8 kB / 395.2 MB, free: 63.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.2693, allocations: 0.9072 MB / 396.1 MB, free: 62.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2694, allocations: 19.61 kB / 396.2 MB, free: 62.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2694, allocations: 7.938 kB / 396.2 MB, free: 62.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.2694, allocations: 7.969 kB / 396.2 MB, free: 62.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/0.2735, allocations: 4.17 MB / 400.3 MB, free: 58.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.2735, allocations: 8 kB / 400.4 MB, free: 58.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.274, allocations: 231.6 kB / 400.6 MB, free: 58.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000686/0.2747, allocations: 414.9 kB / 401 MB, free: 57.76 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.2747, allocations: 31.98 kB / 401 MB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.2759, allocations: 1.919 MB / 402.9 MB, free: 55.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2759, allocations: 16.73 kB / 403 MB, free: 55.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.2773, allocations: 1.841 MB / 404.8 MB, free: 53.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004644/0.2777, allocations: 457.3 kB / 405.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.2779, allocations: 31.98 kB / 405.3 MB, free: 53.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.2785, allocations: 45.95 kB / 405.3 MB, free: 53.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2787, allocations: 100.4 kB / 405.4 MB, free: 53.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.2787, allocations: 43.98 kB / 405.5 MB, free: 53.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008643/0.2796, allocations: 1.285 MB / 406.7 MB, free: 51.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2796, allocations: 0 / 406.7 MB, free: 51.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002711/0.2823, allocations: 1.129 MB / 407.9 MB, free: 50.68 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.0002819/0.2826, allocations: 176 kB / 408 MB, free: 50.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.2849, allocations: 2.809 MB / 410.9 MB, free: 47.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001215/0.2851, allocations: 100.2 kB / 410.9 MB, free: 47.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.2855, allocations: 0.537 MB / 411.5 MB, free: 47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.2871, allocations: 0.723 MB / 412.2 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.2938, allocations: 8.008 MB / 420.2 MB, free: 38.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/0.2946, allocations: 1.319 MB / 421.5 MB, free: 36.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009334/0.2956, allocations: 0.5167 MB / 422.1 MB, free: 36.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007201/0.2963, allocations: 0.587 MB / 422.6 MB, free: 35.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2963, allocations: 0 / 422.6 MB, free: 35.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04184/0.3381, allocations: 36.69 MB / 459.3 MB, free: 14.97 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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.58599800337106]