Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001478/0.001478, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001532/0.001532, allocations: 171.9 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 250.4 MB, free: 4.016 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.695e-05, allocations: 2.312 kB / 250.4 MB, free: 4.012 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01598/0.01601, allocations: 10.82 MB / 261.2 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02637, allocations: 4.27 MB / 265.5 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.02848, allocations: 99.44 kB / 265.6 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006796/0.03527, allocations: 3.002 MB / 268.6 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005815/0.04109, allocations: 2.177 MB / 270.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.04389, allocations: 1.146 MB / 271.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.05418, allocations: 5.999 MB / 277.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006692/0.06087, allocations: 3.781 MB / 281.7 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.06707, allocations: 2.744 MB / 284.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00499/0.07206, allocations: 2.697 MB / 287.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.07319, allocations: 400 kB / 287.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.07638, allocations: 1.229 MB / 288.7 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003083/0.07947, allocations: 2.353 MB / 291.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.08189, allocations: 1.476 MB / 292.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.09396, allocations: 8.201 MB / 300.8 MB, free: 1.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.09397, allocations: 3.984 kB / 300.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09397, allocations: 0 / 300.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002527/0.09423, allocations: 4 kB / 300.8 MB, free: 1.406 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.1292/0.2234, allocations: 5.53 MB / 306.3 MB, free: 55.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2235, allocations: 14.14 kB / 306.3 MB, free: 55.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.2506, allocations: 3.813 MB / 310.1 MB, free: 54.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008551/0.2592, allocations: 3.638 MB / 313.8 MB, free: 52.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2594, allocations: 247.5 kB / 314 MB, free: 52.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.2605, allocations: 338.3 kB / 314.3 MB, free: 52.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.2757, allocations: 10.55 MB / 324.9 MB, free: 40.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.2759, allocations: 51.64 kB / 324.9 MB, free: 40.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.2763, allocations: 164.4 kB / 325.1 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002759/0.279, allocations: 2.029 MB / 327.1 MB, free: 38.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.2928, allocations: 8.961 MB / 336.1 MB, free: 29.74 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/0.334, allocations: 37.24 MB / 373.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009336/0.3433, allocations: 3.148 MB / 376.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.3469, allocations: 2.142 MB / 378.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006655/0.3475, allocations: 224.6 kB / 378.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.3476, allocations: 59.48 kB / 378.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=176): time 4.939e-06/0.3476, allocations: 0 / 378.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=212): time 0.09817/0.4458, allocations: 33.03 MB / 411.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.446, allocations: 252.6 kB / 412.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006784/0.4527, allocations: 4.259 MB / 416.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000556/0.4533, allocations: 57.7 kB / 416.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003048/0.4563, allocations: 3.307 MB / 419.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/0.4577, allocations: 0.8255 MB / 420.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002085/0.4598, allocations: 1.282 MB / 421.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4599, allocations: 305.1 kB / 422.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004814/0.4648, allocations: 2.847 MB / 425 MB, free: 3.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008349/0.4731, allocations: 6.488 MB / 431.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1379/0.611, allocations: 9.85 MB / 441.4 MB, free: 117.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/0.6111, allocations: 37.53 kB / 441.4 MB, free: 117.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.0261/0.6372, allocations: 12.94 MB / 454.4 MB, free: 114.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.717e-05/0.6373, allocations: 61.38 kB / 454.4 MB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/0.6374, allocations: 126.2 kB / 454.5 MB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01879/0.6562, allocations: 4.855 MB / 459.4 MB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/0.6628, allocations: 1.314 MB / 460.7 MB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04008/0.7029, allocations: 25.59 MB / 486.3 MB, free: 88.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005392/0.7083, allocations: 495.8 kB / 486.8 MB, free: 88.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009337/0.7092, allocations: 366.5 kB / 487.1 MB, free: 87.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 33 (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 (714): * Single equations (assignments): 708 * 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.002963/0.7122, allocations: 2.226 MB / 489.4 MB, free: 85.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/0.7132, allocations: 425.6 kB / 489.8 MB, free: 85.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.7245, allocations: 6.428 MB / 496.2 MB, free: 79.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/0.7245, allocations: 24 kB / 496.2 MB, free: 79.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.7246, allocations: 8 kB / 496.2 MB, free: 79.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.7246, allocations: 11.91 kB / 496.2 MB, free: 79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/0.7455, allocations: 11.78 MB / 0.4961 GB, free: 67.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/0.7455, allocations: 4 kB / 0.4961 GB, free: 67.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.7471, allocations: 331.5 kB / 0.4964 GB, free: 66.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008166/0.7553, allocations: 2.934 MB / 0.4993 GB, free: 64.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005005/0.7558, allocations: 36 kB / 0.4993 GB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.7701, allocations: 12.58 MB / 0.5116 GB, free: 51.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7701, allocations: 0 / 0.5116 GB, free: 51.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.7854, allocations: 10.13 MB / 0.5215 GB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/0.7874, allocations: 0.7951 MB / 0.5223 GB, free: 40.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005617/0.788, allocations: 42.03 kB / 0.5223 GB, free: 40.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/0.7902, allocations: 270.2 kB / 0.5226 GB, free: 40.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/0.7907, allocations: 133 kB / 0.5227 GB, free: 40.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.7909, allocations: 55.98 kB / 0.5228 GB, free: 40.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002915/0.7938, allocations: 2.544 MB / 0.5252 GB, free: 37.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7938, allocations: 0 / 0.5252 GB, free: 37.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005581/0.7994, allocations: 1.469 MB / 0.5267 GB, free: 36.1 MB / 362.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 (157): * Single equations (assignments): 153 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005017/0.7999, allocations: 197.7 kB / 0.5269 GB, free: 35.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009287/0.8091, allocations: 7.144 MB / 0.5338 GB, free: 28.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.8091, allocations: 8 kB / 0.5339 GB, free: 28.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.812, allocations: 2.367 MB / 0.5362 GB, free: 26.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/0.8152, allocations: 0.5271 MB / 0.5367 GB, free: 25.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.8301, allocations: 11.13 MB / 0.5476 GB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.8331, allocations: 3.007 MB / 0.5505 GB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003814/0.8369, allocations: 1.861 MB / 0.5523 GB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000905/0.8378, allocations: 252.4 kB / 0.5526 GB, free: 9.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.8378, allocations: 0 / 0.5526 GB, free: 9.512 MB / 362.7 MB Notification: Performance of Templates: time 0.1965/1.034, allocations: 57.46 MB / 0.6087 GB, free: 99.85 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.977921923971735]