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.001183/0.001183, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002061/0.003244, allocations: 449.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.001181/0.001181, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002666, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.059, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.222e-06/1.222e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.993e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.009707/0.009727, allocations: 11.27 MB / 255.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008284/0.01801, allocations: 4.458 MB / 260.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.02037, allocations: 95.44 kB / 260.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.02383, allocations: 2.931 MB / 263.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004005/0.02784, allocations: 2.041 MB / 265.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.02946, allocations: 1.06 MB / 266.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005713/0.03518, allocations: 5.825 MB / 272.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1678/0.203, allocations: 3.307 MB / 275.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/0.2091, allocations: 3.376 MB / 278.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.2135, allocations: 2.486 MB / 281.4 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.215, allocations: 374.8 kB / 281.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.2174, allocations: 1.231 MB / 283 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.2194, allocations: 2.011 MB / 285 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002301/0.2217, allocations: 1.135 MB / 286.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/0.2273, allocations: 4.634 MB / 290.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.2273, allocations: 0 / 290.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2273, allocations: 3.469 kB / 290.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002209/0.2275, allocations: 0 / 290.8 MB, free: 2.234 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.007091/0.2346, allocations: 5.822 MB / 296.6 MB, free: 104 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2347, allocations: 10.19 kB / 296.6 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/0.2385, allocations: 1.328 MB / 297.9 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/0.2418, allocations: 2.323 MB / 300.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.2419, allocations: 235.5 kB / 300.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/0.2424, allocations: 324.3 kB / 300.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/0.2487, allocations: 4.9 MB / 305.7 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.2488, allocations: 43.77 kB / 305.7 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/0.2491, allocations: 152.5 kB / 305.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.2505, allocations: 1.647 MB / 307.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004319/0.2548, allocations: 2.406 MB / 309.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.2814, allocations: 29.68 MB / 339.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/0.2851, allocations: 1.319 MB / 340.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.2856, allocations: 331.4 kB / 341.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005954/0.2916, allocations: 3.406 MB / 344.7 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2916, allocations: 59.14 kB / 344.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.847e-06/0.2916, allocations: 0 / 344.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=143): time 0.01813/0.3097, allocations: 5.828 MB / 350.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3098, allocations: 145.5 kB / 350.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.3131, allocations: 3.324 MB / 354 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.3132, allocations: 41.7 kB / 354 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.3148, allocations: 3.062 MB / 357.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/0.3152, allocations: 0.605 MB / 357.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.3166, allocations: 1.14 MB / 358.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.3166, allocations: 301.1 kB / 359.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.318, allocations: 0.7227 MB / 359.9 MB, free: 4.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003227/0.3212, allocations: 4.36 MB / 364.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.326, allocations: 5.495 MB / 369.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/0.3261, allocations: 36 kB / 369.8 MB, free: 8.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.00624/0.3323, allocations: 4.234 MB / 374 MB, free: 3.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.375e-05/0.3324, allocations: 60 kB / 374.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.3326, allocations: 128.7 kB / 374.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.3343, allocations: 0.6615 MB / 374.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.3367, allocations: 1.447 MB / 376.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.3411, allocations: 5.373 MB / 381.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.3436, allocations: 267.7 kB / 381.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/0.3439, allocations: 313.3 kB / 382.2 MB, free: 11.37 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (723): * Single equations (assignments): 717 * 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.001217/0.3451, allocations: 0.6011 MB / 382.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/0.3455, allocations: 219.8 kB / 383 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3466, allocations: 0.8501 MB / 383.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3466, allocations: 16 kB / 383.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3466, allocations: 8 kB / 383.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.3466, allocations: 3.984 kB / 383.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.3516, allocations: 3.984 MB / 387.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3516, allocations: 8 kB / 387.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.3521, allocations: 223.7 kB / 388.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.3525, allocations: 337.5 kB / 388.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000727/0.3532, allocations: 416.3 kB / 388.9 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.3533, allocations: 28 kB / 388.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.3547, allocations: 1.907 MB / 390.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.3547, allocations: 15.92 kB / 390.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.3564, allocations: 1.792 MB / 392.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.3567, allocations: 39.97 kB / 392.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.3573, allocations: 32 kB / 392.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3574, allocations: 108.2 kB / 392.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.3575, allocations: 40 kB / 392.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.3585, allocations: 1.248 MB / 394.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3585, allocations: 0 / 394.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003065/0.3616, allocations: 1.062 MB / 395.1 MB, free: 14.5 MB / 378.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 (116): * Single equations (assignments): 112 * 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.0003061/0.3619, allocations: 174 kB / 395.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.365, allocations: 2.728 MB / 398 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001914/0.3651, allocations: 112 kB / 398.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.3661, allocations: 0.4982 MB / 398.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.3687, allocations: 0.9763 MB / 399.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.3816, allocations: 7.805 MB / 407.4 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.3828, allocations: 1.268 MB / 408.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001347/0.3841, allocations: 0.492 MB / 409.2 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008185/0.3849, allocations: 0.5753 MB / 409.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.385, allocations: 0 / 409.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of Templates: time 0.1597/0.5447, allocations: 36.02 MB / 445.8 MB, free: 119.7 MB / 394.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 -ignoreHideResult -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","",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.748808874748647]