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.001215/0.001215, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00379/0.00379, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 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 0.8568/0.8568, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.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.833e-06/1.833e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.545e-05, allocations: 2.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.008159/0.008185, allocations: 10.35 MB / 336.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.01522, allocations: 4.176 MB / 340.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.01657, allocations: 99.44 kB / 340.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.01952, allocations: 2.939 MB / 343.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.02271, allocations: 2.053 MB / 345.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.02413, allocations: 1.123 MB / 346.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005084/0.02921, allocations: 6.338 MB / 352.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.0332, allocations: 3.58 MB / 356.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.03647, allocations: 2.639 MB / 359.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.03894, allocations: 2.576 MB / 361.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004869/0.03943, allocations: 372 kB / 362.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.04102, allocations: 1.19 MB / 363.3 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.0425, allocations: 2.236 MB / 365.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.04386, allocations: 1.383 MB / 366.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006261/0.05012, allocations: 7.703 MB / 374.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.05013, allocations: 4 kB / 374.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.05013, allocations: 0 / 374.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.765e-05/0.05023, allocations: 0 / 374.6 MB, free: 14.46 MB / 346.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.006925/0.05715, allocations: 5.305 MB / 379.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.0572, allocations: 8.031 kB / 379.9 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.06891, allocations: 3.274 MB / 383.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.07385, allocations: 3.449 MB / 386.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.07397, allocations: 238.5 kB / 386.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.07437, allocations: 331.7 kB / 387.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009685/0.08405, allocations: 9.944 MB / 397.1 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.396e-05/0.08414, allocations: 55.58 kB / 397.2 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.08443, allocations: 155.8 kB / 397.3 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/0.08626, allocations: 1.896 MB / 399.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009943/0.09621, allocations: 8.472 MB / 407.7 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03191/0.1281, allocations: 35.68 MB / 443.4 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/0.1333, allocations: 3.46 MB / 446.8 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/0.1351, allocations: 2.048 MB / 448.9 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.1354, allocations: 201 kB / 449.1 MB, free: 2.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1355, allocations: 55.5 kB / 449.1 MB, free: 2.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=166): time 4.579e-06/0.1355, allocations: 0 / 449.1 MB, free: 2.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.1995/0.335, allocations: 23.16 MB / 472.3 MB, free: 103.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.335, allocations: 248.6 kB / 472.5 MB, free: 103 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/0.3376, allocations: 4.119 MB / 476.7 MB, free: 99.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/0.3377, allocations: 57.7 kB / 476.7 MB, free: 98.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007036/0.3384, allocations: 3.188 MB / 479.9 MB, free: 96.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.3387, allocations: 0.7926 MB / 480.7 MB, free: 95.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007953/0.3395, allocations: 1.246 MB / 481.9 MB, free: 94.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.308e-05/0.3395, allocations: 301.1 kB / 482.2 MB, free: 93.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.3413, allocations: 2.491 MB / 484.7 MB, free: 91.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.3437, allocations: 6.08 MB / 490.8 MB, free: 83.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.3486, allocations: 9.056 MB / 499.9 MB, free: 72.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/0.3486, allocations: 39.94 kB / 499.9 MB, free: 72.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.008772/0.3574, allocations: 10.49 MB / 0.4984 GB, free: 62.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.3575, allocations: 63.92 kB / 0.4985 GB, free: 62.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/0.3575, allocations: 124.1 kB / 0.4986 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/0.3609, allocations: 2.59 MB / 0.5011 GB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.3626, allocations: 1.31 MB / 0.5024 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.3755, allocations: 18.14 MB / 0.5201 GB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/0.3787, allocations: 427.2 kB / 0.5205 GB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/0.379, allocations: 356 kB / 0.5209 GB, free: 38.84 MB / 410.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.002351/0.3813, allocations: 2.142 MB / 0.523 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.3817, allocations: 353.5 kB / 0.5233 GB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/0.3865, allocations: 4.976 MB / 0.5282 GB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.3865, allocations: 20 kB / 0.5282 GB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.3866, allocations: 8 kB / 0.5282 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3866, allocations: 7.969 kB / 0.5282 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009415/0.396, allocations: 9.54 MB / 0.5375 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.396, allocations: 4 kB / 0.5375 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.3966, allocations: 289.7 kB / 0.5378 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/0.3991, allocations: 1.846 MB / 0.5396 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.3992, allocations: 32 kB / 0.5396 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/0.4065, allocations: 10.24 MB / 0.5496 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4065, allocations: 0 / 0.5496 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006664/0.4131, allocations: 8.109 MB / 0.5576 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.4136, allocations: 377.4 kB / 0.5579 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.4138, allocations: 39.98 kB / 0.558 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.4147, allocations: 198.7 kB / 0.5581 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.4149, allocations: 125.1 kB / 0.5583 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/0.415, allocations: 48 kB / 0.5583 GB, free: 360 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002283/0.4173, allocations: 2.449 MB / 0.5607 GB, free: 13.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4173, allocations: 0 / 0.5607 GB, free: 13.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003557/0.4209, allocations: 1.309 MB / 0.562 GB, free: 12.61 MB / 426.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.0003924/0.4213, allocations: 196.8 kB / 0.5622 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006165/0.4274, allocations: 6.262 MB / 0.5683 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4274, allocations: 4 kB / 0.5683 GB, free: 6.129 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00181/0.4292, allocations: 1.988 MB / 0.5702 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.4308, allocations: 0.4937 MB / 0.5707 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.4425, allocations: 10.88 MB / 0.5813 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/0.445, allocations: 2.841 MB / 0.5841 GB, free: 5.848 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.4456, allocations: 284.4 kB / 0.5844 GB, free: 5.57 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4456, allocations: 0 / 0.5844 GB, free: 5.57 MB / 442.7 MB Notification: Performance of Templates: time 0.2394/0.6851, allocations: 102.2 MB / 0.6842 GB, free: 101.3 MB / 474.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=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: 8.459395599551499]