Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 191.7 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 47.92 kB / 370.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2407, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01374/0.2544, allocations: 10.46 MB / 433.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008209/0.2626, allocations: 4.156 MB / 437.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.2638, allocations: 95.44 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.2692, allocations: 2.823 MB / 440.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004508/0.2737, allocations: 2.043 MB / 442.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2759, allocations: 1.037 MB / 443.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0072/0.2831, allocations: 5.557 MB / 449.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004569/0.2877, allocations: 3.081 MB / 452.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.2907, allocations: 1.76 MB / 454.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004415/0.2951, allocations: 2.359 MB / 456.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.2962, allocations: 368 kB / 456.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.2986, allocations: 1.159 MB / 458 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002627/0.3013, allocations: 2.166 MB / 460.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.3043, allocations: 1.79 MB / 461.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008948/0.3132, allocations: 7.782 MB / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3132, allocations: 0 / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3132, allocations: 0 / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.3134, allocations: 0 / 469.7 MB, free: 15.63 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01027/0.3237, allocations: 5.309 MB / 475 MB, free: 10.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3238, allocations: 12.03 kB / 475 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/0.3496, allocations: 3.196 MB / 478.2 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/0.358, allocations: 3.543 MB / 481.8 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.3582, allocations: 242.2 kB / 482 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006128/0.3588, allocations: 331.8 kB / 482.3 MB, free: 2.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.376, allocations: 10.12 MB / 492.4 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/0.3761, allocations: 51.59 kB / 492.5 MB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004424/0.3766, allocations: 151.9 kB / 492.6 MB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.3801, allocations: 1.963 MB / 494.6 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0157/0.3958, allocations: 8.57 MB / 0.4914 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0456/0.4414, allocations: 35.71 MB / 0.5262 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008426/0.4498, allocations: 3.373 MB / 0.5295 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.4527, allocations: 2.045 MB / 0.5315 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.4532, allocations: 212.7 kB / 0.5317 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.4533, allocations: 55.48 kB / 0.5318 GB, free: 2.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.95e-06/0.4533, allocations: 0 / 0.5318 GB, free: 2.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2552/0.7084, allocations: 22.53 MB / 0.5538 GB, free: 99.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.7085, allocations: 252.6 kB / 0.554 GB, free: 99.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.7124, allocations: 3.961 MB / 0.5579 GB, free: 95.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.7126, allocations: 57.7 kB / 0.558 GB, free: 95.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.714, allocations: 3.259 MB / 0.5611 GB, free: 92.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.7145, allocations: 0.7995 MB / 0.5619 GB, free: 91.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.7157, allocations: 1.262 MB / 0.5632 GB, free: 90.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.7157, allocations: 301.1 kB / 0.5634 GB, free: 90.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/0.7184, allocations: 2.495 MB / 0.5659 GB, free: 87.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/0.7222, allocations: 6.073 MB / 0.5718 GB, free: 79.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/0.729, allocations: 9.077 MB / 0.5807 GB, free: 69.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/0.7291, allocations: 36 kB / 0.5807 GB, free: 69.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01507/0.7441, allocations: 10.49 MB / 0.591 GB, free: 58.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.7442, allocations: 56 kB / 0.591 GB, free: 58.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.053e-05/0.7443, allocations: 126.9 kB / 0.5911 GB, free: 58.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006453/0.7507, allocations: 2.592 MB / 0.5937 GB, free: 55.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.754, allocations: 1.318 MB / 0.5949 GB, free: 54.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/0.7736, allocations: 18.06 MB / 0.6126 GB, free: 36.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.778, allocations: 371.2 kB / 0.6129 GB, free: 35.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.7784, allocations: 364 kB / 0.6133 GB, free: 35.54 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.arrowLine.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.002602/0.781, allocations: 2.162 MB / 0.6154 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.7815, allocations: 357.7 kB / 0.6157 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008144/0.7896, allocations: 4.972 MB / 0.6206 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.7896, allocations: 24 kB / 0.6206 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7896, allocations: 8 kB / 0.6206 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.7896, allocations: 15.95 kB / 0.6206 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.8051, allocations: 9.45 MB / 0.6299 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8051, allocations: 7.984 kB / 0.6299 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.8064, allocations: 279.6 kB / 0.6301 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004627/0.811, allocations: 1.85 MB / 0.6319 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.8111, allocations: 28 kB / 0.632 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.8224, allocations: 10.16 MB / 0.6419 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8224, allocations: 0 / 0.6419 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/0.8343, allocations: 8.128 MB / 0.6498 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.8354, allocations: 329.5 kB / 0.6501 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/0.8359, allocations: 36 kB / 0.6502 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8374, allocations: 135.8 kB / 0.6503 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/0.8378, allocations: 129 kB / 0.6504 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.838, allocations: 52 kB / 0.6505 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003555/0.8415, allocations: 2.316 MB / 0.6527 GB, free: 10.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8415, allocations: 288 / 0.6527 GB, free: 10.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005612/0.8471, allocations: 1.176 MB / 0.6539 GB, free: 9.797 MB / 462.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.00063/0.8478, allocations: 166.3 kB / 0.6541 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01182/0.8596, allocations: 6.257 MB / 0.6602 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8596, allocations: 0 / 0.6602 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.8635, allocations: 1.994 MB / 0.6621 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/0.8672, allocations: 0.5086 MB / 0.6626 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/0.8904, allocations: 10.57 MB / 0.6729 GB, free: 6.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/0.8953, allocations: 2.911 MB / 0.6758 GB, free: 3.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004988/0.9003, allocations: 1.843 MB / 0.6776 GB, free: 1.441 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008969/0.9012, allocations: 235.4 kB / 0.6778 GB, free: 1.211 MB / 478.1 MB Notification: Performance of SimCode: time 2.776e-06/0.9012, allocations: 0 / 0.6778 GB, free: 1.211 MB / 478.1 MB Notification: Performance of Templates: time 0.2955/1.197, allocations: 50.39 MB / 0.727 GB, free: 170.2 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.984310545027256]