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.001858/0.001858, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00237/0.00237, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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 0.001966/0.001966, allocations: 47.86 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01365/0.2509, allocations: 10.35 MB / 441.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.2603, allocations: 4.153 MB / 446.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.2623, allocations: 103.4 kB / 446.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006294/0.2686, allocations: 2.807 MB / 449 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.2743, allocations: 1.992 MB / 451 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.277, allocations: 1.033 MB / 452 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008098/0.2851, allocations: 5.6 MB / 457.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.2897, allocations: 3.045 MB / 460.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.2928, allocations: 1.737 MB / 462.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.2967, allocations: 2.344 MB / 464.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.2978, allocations: 360 kB / 465.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.3005, allocations: 1.139 MB / 466.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002833/0.3033, allocations: 2.131 MB / 468.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003585/0.3069, allocations: 1.74 MB / 470.1 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.3171, allocations: 7.615 MB / 477.7 MB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3171, allocations: 0 / 477.7 MB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3171, allocations: 4 kB / 477.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001763/0.3173, allocations: 0 / 477.7 MB, free: 8.352 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01097/0.3283, allocations: 5.242 MB / 483 MB, free: 3.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3283, allocations: 16.03 kB / 483 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02599/0.3543, allocations: 3.192 MB / 486.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00936/0.3637, allocations: 3.465 MB / 489.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.3639, allocations: 238.1 kB / 489.9 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.3651, allocations: 319.8 kB / 490.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.3831, allocations: 9.955 MB / 0.4884 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.3832, allocations: 51.64 kB / 0.4885 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000517/0.3838, allocations: 151.9 kB / 0.4886 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.3873, allocations: 1.9 MB / 0.4905 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.4043, allocations: 8.46 MB / 0.4987 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/0.4533, allocations: 35.35 MB / 0.5332 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2042/0.6575, allocations: 3.362 MB / 0.5365 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.66, allocations: 2.049 MB / 0.5385 GB, free: 99.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.6605, allocations: 201.5 kB / 0.5387 GB, free: 99.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.6606, allocations: 55.27 kB / 0.5388 GB, free: 99.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.308e-06/0.6606, allocations: 0 / 0.5388 GB, free: 99.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.05096/0.7115, allocations: 22.48 MB / 0.5607 GB, free: 86.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.7116, allocations: 260.6 kB / 0.561 GB, free: 86.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004127/0.7157, allocations: 3.936 MB / 0.5648 GB, free: 82.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00031/0.716, allocations: 53.7 kB / 0.5649 GB, free: 82.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7172, allocations: 3.227 MB / 0.568 GB, free: 79.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/0.7178, allocations: 0.8038 MB / 0.5688 GB, free: 78.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.719, allocations: 1.262 MB / 0.57 GB, free: 77.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.719, allocations: 301.1 kB / 0.5703 GB, free: 77.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/0.7217, allocations: 2.493 MB / 0.5728 GB, free: 74.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/0.7254, allocations: 6.086 MB / 0.5787 GB, free: 67.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/0.7326, allocations: 9.06 MB / 0.5876 GB, free: 56.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-05/0.7327, allocations: 32 kB / 0.5876 GB, free: 56.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01619/0.7489, allocations: 10.5 MB / 0.5978 GB, free: 45.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.7489, allocations: 56 kB / 0.5979 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.463e-05/0.749, allocations: 124 kB / 0.598 GB, free: 45.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/0.7554, allocations: 2.593 MB / 0.6005 GB, free: 42.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.759, allocations: 1.314 MB / 0.6018 GB, free: 41.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.7783, allocations: 18.06 MB / 0.6195 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/0.7826, allocations: 372.8 kB / 0.6198 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000638/0.7833, allocations: 356 kB / 0.6202 GB, free: 22.61 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.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.002594/0.7859, allocations: 2.142 MB / 0.6222 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/0.7864, allocations: 349.7 kB / 0.6226 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007962/0.7944, allocations: 4.972 MB / 0.6274 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.7944, allocations: 27.84 kB / 0.6275 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7944, allocations: 8 kB / 0.6275 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.7944, allocations: 19.91 kB / 0.6275 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.8095, allocations: 9.406 MB / 0.6367 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.8095, allocations: 3.938 kB / 0.6367 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.8107, allocations: 283.6 kB / 0.6369 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004685/0.8154, allocations: 1.846 MB / 0.6388 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.8156, allocations: 36 kB / 0.6388 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.8297, allocations: 10.15 MB / 0.6487 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8297, allocations: 4.031 kB / 0.6487 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.8448, allocations: 8.119 MB / 0.6566 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.8462, allocations: 333.5 kB / 0.6569 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005594/0.8468, allocations: 35.98 kB / 0.657 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/0.8484, allocations: 139.8 kB / 0.6571 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.8488, allocations: 121 kB / 0.6572 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.849, allocations: 59.73 kB / 0.6573 GB, free: 416 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003707/0.8527, allocations: 2.312 MB / 0.6595 GB, free: 14.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8527, allocations: 0 / 0.6595 GB, free: 14.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005235/0.8579, allocations: 1.152 MB / 0.6607 GB, free: 12.96 MB / 478.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.00047/0.8584, allocations: 166.9 kB / 0.6608 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.8695, allocations: 6.249 MB / 0.6669 GB, free: 6.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8695, allocations: 0.75 kB / 0.6669 GB, free: 6.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.8728, allocations: 1.987 MB / 0.6689 GB, free: 4.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.8757, allocations: 0.5135 MB / 0.6694 GB, free: 4.016 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.8938, allocations: 10.46 MB / 0.6796 GB, free: 9.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003978/0.8978, allocations: 2.869 MB / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004246/0.902, allocations: 1.835 MB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.9028, allocations: 231.4 kB / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.9028, allocations: 0 / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of Templates: time 0.3293/1.232, allocations: 50.08 MB / 0.7333 GB, free: 178.3 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] 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.988043278455734]