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.001869/0.001869, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001968/0.001968, allocations: 161.3 kB / 24.27 MB, free: 152 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.556/1.556, 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.453e-06/1.453e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.892e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01616/0.01619, allocations: 11.4 MB / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.02701, allocations: 4.261 MB / 288 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.02931, allocations: 103.4 kB / 288.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1322/0.1616, allocations: 3.064 MB / 291.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.1673, allocations: 2.058 MB / 293.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.1698, allocations: 1.147 MB / 294.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009287/0.1791, allocations: 6.341 MB / 300.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004631/0.1837, allocations: 3.695 MB / 304.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.1882, allocations: 2.658 MB / 307.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.1912, allocations: 2.634 MB / 309.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.1919, allocations: 371.3 kB / 310.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.1938, allocations: 1.197 MB / 311.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.1951, allocations: 2.243 MB / 313.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.1965, allocations: 1.405 MB / 314.9 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.2035, allocations: 7.722 MB / 322.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2035, allocations: 0 / 322.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2035, allocations: 0 / 322.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000142/0.2037, allocations: 0 / 322.6 MB, free: 13.9 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.0131/0.2168, allocations: 6.124 MB / 328.7 MB, free: 7.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2168, allocations: 8.031 kB / 328.7 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02958/0.2464, allocations: 3.721 MB / 332.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009598/0.256, allocations: 3.258 MB / 335.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.2563, allocations: 240.4 kB / 336 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.2574, allocations: 325.9 kB / 336.3 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.2711, allocations: 6.405 MB / 342.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.2713, allocations: 47.03 kB / 342.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/0.2717, allocations: 154.8 kB / 342.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003693/0.2754, allocations: 1.901 MB / 344.8 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.2869, allocations: 3.497 MB / 348.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06121/0.3481, allocations: 45.14 MB / 393.4 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007246/0.3554, allocations: 1.86 MB / 395.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.3571, allocations: 0.6751 MB / 396 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005557/0.3576, allocations: 192 kB / 396.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.3577, allocations: 58.33 kB / 396.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 4.469e-06/0.3577, allocations: 0 / 396.2 MB, free: 3.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=201): time 0.05915/0.4168, allocations: 16.16 MB / 412.4 MB, free: 2.891 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002264/0.4171, allocations: 256.6 kB / 412.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008002/0.4251, allocations: 4.495 MB / 417.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000515/0.4256, allocations: 53.7 kB / 417.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003733/0.4293, allocations: 3.586 MB / 420.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.4309, allocations: 0.8813 MB / 421.6 MB, free: 9.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002688/0.4335, allocations: 1.561 MB / 423.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/0.4338, allocations: 480.8 kB / 423.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.436, allocations: 0.8825 MB / 424.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.152/0.588, allocations: 6.336 MB / 430.9 MB, free: 106.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00769/0.5957, allocations: 7.918 MB / 438.8 MB, free: 99.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.5958, allocations: 38.56 kB / 438.8 MB, free: 99.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01717/0.6129, allocations: 6.946 MB / 445.8 MB, free: 98.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.613, allocations: 54.91 kB / 445.8 MB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.6132, allocations: 122.5 kB / 446 MB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007506/0.6207, allocations: 1.873 MB / 447.8 MB, free: 98.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/0.6246, allocations: 1.312 MB / 449.1 MB, free: 98.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/0.6402, allocations: 10.83 MB / 460 MB, free: 92.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/0.6455, allocations: 436.2 kB / 460.4 MB, free: 92.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/0.6465, allocations: 354.5 kB / 460.7 MB, free: 92.44 MB / 378.7 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.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.002142/0.6486, allocations: 0.7321 MB / 461.5 MB, free: 91.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009117/0.6495, allocations: 415 kB / 461.9 MB, free: 91.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/0.6569, allocations: 2.722 MB / 464.6 MB, free: 91.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/0.6569, allocations: 20.5 kB / 464.6 MB, free: 91.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.6569, allocations: 18.58 kB / 464.6 MB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.657, allocations: 10.83 kB / 464.7 MB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.675, allocations: 7.902 MB / 472.6 MB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.675, allocations: 0 / 472.6 MB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.6764, allocations: 284.2 kB / 472.8 MB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005213/0.6816, allocations: 1.231 MB / 474.1 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/0.6819, allocations: 39.36 kB / 474.1 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007668/0.6896, allocations: 4.424 MB / 478.5 MB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6896, allocations: 7.984 kB / 478.5 MB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008831/0.6984, allocations: 3.98 MB / 482.5 MB, free: 74.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.6997, allocations: 370.8 kB / 482.9 MB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.7002, allocations: 32 kB / 482.9 MB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.7022, allocations: 195.7 kB / 483.1 MB, free: 74.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/0.7026, allocations: 128.9 kB / 483.2 MB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.7027, allocations: 52 kB / 483.3 MB, free: 74.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002523/0.7052, allocations: 1.906 MB / 485.2 MB, free: 72.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7052, allocations: 0 / 485.2 MB, free: 72.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005492/0.7107, allocations: 1.315 MB / 486.5 MB, free: 70.96 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 (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.0004994/0.7112, allocations: 182.6 kB / 486.7 MB, free: 70.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007607/0.7188, allocations: 4.389 MB / 491.1 MB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.7188, allocations: 128 / 491.1 MB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.7209, allocations: 1.212 MB / 492.3 MB, free: 65.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/0.7242, allocations: 0.5337 MB / 492.8 MB, free: 64.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.7423, allocations: 8.38 MB / 0.4894 GB, free: 56.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004674/0.747, allocations: 2.596 MB / 0.492 GB, free: 53.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005795/0.7528, allocations: 1.573 MB / 0.4935 GB, free: 51.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.7542, allocations: 240.5 kB / 0.4937 GB, free: 51.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/0.7542, allocations: 2.734 kB / 0.4937 GB, free: 51.73 MB / 378.7 MB Notification: Performance of Templates: time 0.07453/0.8288, allocations: 48.01 MB / 0.5406 GB, free: 4.258 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 240] 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: 6.819144696928561]