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.001793/0.001793, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001955/0.001955, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.44/1.44, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 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 1.664e-06/1.664e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.656e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01479/0.01481, allocations: 10.47 MB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009677/0.02449, allocations: 4.168 MB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.02619, allocations: 95.44 kB / 282.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00636/0.03255, allocations: 3.009 MB / 285.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.03796, allocations: 2.1 MB / 287.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.04054, allocations: 1.146 MB / 288.3 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1117/0.1522, allocations: 6.215 MB / 294.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004701/0.1569, allocations: 3.717 MB / 298.2 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.1614, allocations: 2.671 MB / 300.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.1648, allocations: 2.601 MB / 303.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006078/0.1654, allocations: 384 kB / 303.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.1672, allocations: 1.22 MB / 305.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.1685, allocations: 2.288 MB / 307.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.1698, allocations: 1.431 MB / 308.8 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.1755, allocations: 7.914 MB / 316.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1755, allocations: 0.9688 kB / 316.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1755, allocations: 3.938 kB / 316.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001228/0.1756, allocations: 0 / 316.8 MB, free: 6.125 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.008886/0.1845, allocations: 5.406 MB / 322.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1845, allocations: 8.922 kB / 322.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02615/0.2107, allocations: 3.775 MB / 325.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008917/0.2196, allocations: 3.476 MB / 329.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.2201, allocations: 243.3 kB / 329.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.2212, allocations: 335.8 kB / 330 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.2401, allocations: 10.23 MB / 340.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.2402, allocations: 49.47 kB / 340.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/0.2407, allocations: 155.2 kB / 340.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/0.2445, allocations: 1.964 MB / 342.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.2633, allocations: 8.673 MB / 351 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05551/0.3188, allocations: 36.34 MB / 387.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009062/0.3278, allocations: 3.052 MB / 390.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003269/0.3311, allocations: 2.09 MB / 392.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006311/0.3317, allocations: 234.6 kB / 392.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.3318, allocations: 51.56 kB / 392.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 4.157e-06/0.3318, allocations: 0 / 392.8 MB, free: 9.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=202): time 0.09244/0.4242, allocations: 31.95 MB / 424.8 MB, free: 9.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.4244, allocations: 255.9 kB / 425 MB, free: 9.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006046/0.4305, allocations: 4.108 MB / 429.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.4307, allocations: 53.7 kB / 429.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002911/0.4337, allocations: 3.217 MB / 432.4 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.4347, allocations: 0.799 MB / 433.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1143/0.5491, allocations: 1.24 MB / 434.4 MB, free: 124.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.5491, allocations: 301.9 kB / 434.7 MB, free: 124 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/0.5534, allocations: 2.774 MB / 437.5 MB, free: 123.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/0.5587, allocations: 6.335 MB / 443.8 MB, free: 118.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00902/0.5677, allocations: 9.604 MB / 453.4 MB, free: 111.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/0.5678, allocations: 37.72 kB / 453.5 MB, free: 111.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02088/0.5887, allocations: 12.71 MB / 466.2 MB, free: 106.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.5888, allocations: 60 kB / 466.2 MB, free: 106.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.561e-05/0.5889, allocations: 116 kB / 466.4 MB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.6016, allocations: 4.838 MB / 471.2 MB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.6051, allocations: 1.267 MB / 472.5 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02848/0.6336, allocations: 25.6 MB / 498.1 MB, free: 75.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/0.6386, allocations: 473.3 kB / 498.5 MB, free: 75.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005931/0.6392, allocations: 359.3 kB / 498.9 MB, free: 74.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * 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 (691): * Single equations (assignments): 685 * 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,37,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.002658/0.6418, allocations: 2.163 MB / 0.4893 GB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007486/0.6426, allocations: 421 kB / 0.4897 GB, free: 72.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.6532, allocations: 6.287 MB / 0.4958 GB, free: 66.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.6532, allocations: 24 kB / 0.4959 GB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.6533, allocations: 8 kB / 0.4959 GB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.6533, allocations: 7.969 kB / 0.4959 GB, free: 66.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.6711, allocations: 11.5 MB / 0.5071 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6711, allocations: 4 kB / 0.5071 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.6725, allocations: 311.5 kB / 0.5074 GB, free: 54.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007723/0.6802, allocations: 2.942 MB / 0.5103 GB, free: 51.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/0.6804, allocations: 39.67 kB / 0.5103 GB, free: 51.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.6944, allocations: 12.57 MB / 0.5226 GB, free: 38.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6944, allocations: 7.938 kB / 0.5226 GB, free: 38.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.7083, allocations: 9.92 MB / 0.5323 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009727/0.7092, allocations: 374.5 kB / 0.5326 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.7097, allocations: 38.3 kB / 0.5327 GB, free: 28.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.7117, allocations: 251.6 kB / 0.5329 GB, free: 28.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/0.7122, allocations: 121.1 kB / 0.533 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.7124, allocations: 51.98 kB / 0.5331 GB, free: 28.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002725/0.7151, allocations: 2.44 MB / 0.5355 GB, free: 25.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7151, allocations: 0 / 0.5355 GB, free: 25.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004923/0.72, allocations: 1.439 MB / 0.5369 GB, free: 24.46 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 (146): * Single equations (assignments): 142 * 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 {(3,34,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004601/0.7205, allocations: 193.8 kB / 0.5371 GB, free: 24.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008868/0.7293, allocations: 6.984 MB / 0.5439 GB, free: 17.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7293, allocations: 0 / 0.5439 GB, free: 17.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00296/0.7323, allocations: 2.354 MB / 0.5462 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.7353, allocations: 0.5429 MB / 0.5467 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/0.7496, allocations: 10.78 MB / 0.5572 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1083/0.8579, allocations: 2.909 MB / 0.5601 GB, free: 108.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004701/0.8626, allocations: 1.816 MB / 0.5618 GB, free: 108.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009507/0.8635, allocations: 235.8 kB / 0.5621 GB, free: 108.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8635, allocations: 0 / 0.5621 GB, free: 108.2 MB / 378.7 MB Notification: Performance of Templates: time 0.0752/0.9387, allocations: 56.29 MB / 0.617 GB, free: 72.72 MB / 378.7 MB " [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.702401195070706]