Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001961/0.001961, allocations: 85.5 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 157.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.225e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01357/0.01361, allocations: 10.35 MB / 335.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009964/0.02357, allocations: 4.165 MB / 339.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.02529, allocations: 101 kB / 339.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.03102, allocations: 2.948 MB / 342.6 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.03629, allocations: 2.049 MB / 344.6 MB, free: 1.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.03886, allocations: 1.126 MB / 345.8 MB, free: 288 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008784/0.04764, allocations: 6.335 MB / 352.1 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/0.05273, allocations: 3.588 MB / 355.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.05723, allocations: 2.639 MB / 358.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.06114, allocations: 2.564 MB / 360.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006297/0.06177, allocations: 376 kB / 361.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.0642, allocations: 1.19 MB / 362.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.06666, allocations: 2.236 MB / 364.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.06887, allocations: 1.39 MB / 366.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009611/0.07848, allocations: 7.703 MB / 373.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.07849, allocations: 0 / 373.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07849, allocations: 0 / 373.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.07866, allocations: 0 / 373.8 MB, free: 4.141 MB / 334.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.01252/0.09118, allocations: 5.305 MB / 379.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.09123, allocations: 11.98 kB / 379.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02936/0.1206, allocations: 3.278 MB / 382.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009827/0.1304, allocations: 3.449 MB / 385.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.1307, allocations: 234.5 kB / 386 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.1318, allocations: 327.7 kB / 386.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.1511, allocations: 9.947 MB / 396.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.1512, allocations: 55.58 kB / 396.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/0.1517, allocations: 151.9 kB / 396.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/0.1557, allocations: 1.904 MB / 398.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.1737, allocations: 8.464 MB / 406.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05312/0.2269, allocations: 35.69 MB / 442.6 MB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009389/0.2362, allocations: 3.452 MB / 446 MB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.2395, allocations: 2.066 MB / 448.1 MB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.2401, allocations: 204.6 kB / 448.3 MB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.2401, allocations: 47.56 kB / 448.3 MB, free: 7.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=166): time 5.541e-06/0.2401, allocations: 0 / 448.3 MB, free: 7.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=201): time 0.07022/0.3103, allocations: 23.16 MB / 471.5 MB, free: 0.5195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/0.3105, allocations: 256.5 kB / 471.7 MB, free: 220 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2001/0.5106, allocations: 4.114 MB / 475.8 MB, free: 126 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.5112, allocations: 52.7 kB / 475.9 MB, free: 126 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.5132, allocations: 3.188 MB / 479.1 MB, free: 124.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009588/0.5141, allocations: 0.7959 MB / 479.9 MB, free: 123.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.5158, allocations: 1.239 MB / 481.1 MB, free: 123.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.5158, allocations: 302.3 kB / 481.4 MB, free: 122.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/0.5193, allocations: 2.49 MB / 483.9 MB, free: 122.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005263/0.5245, allocations: 6.078 MB / 490 MB, free: 116.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/0.5331, allocations: 9.061 MB / 499 MB, free: 109.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.5332, allocations: 34.41 kB / 499.1 MB, free: 109.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01741/0.5506, allocations: 10.5 MB / 0.4976 GB, free: 103.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/0.5507, allocations: 58.95 kB / 0.4977 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.5508, allocations: 124.2 kB / 0.4978 GB, free: 103.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/0.5578, allocations: 2.593 MB / 0.5003 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003726/0.5615, allocations: 1.31 MB / 0.5016 GB, free: 99.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.581, allocations: 18.14 MB / 0.5193 GB, free: 80.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/0.5862, allocations: 431.4 kB / 0.5198 GB, free: 80.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005274/0.5867, allocations: 361.3 kB / 0.5201 GB, free: 80.22 MB / 430.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.00259/0.5893, allocations: 2.142 MB / 0.5222 GB, free: 78.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.5899, allocations: 353.7 kB / 0.5225 GB, free: 77.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/0.5983, allocations: 4.972 MB / 0.5274 GB, free: 72.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.5983, allocations: 20 kB / 0.5274 GB, free: 72.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5983, allocations: 11.94 kB / 0.5274 GB, free: 72.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.5984, allocations: 7.969 kB / 0.5274 GB, free: 72.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.6138, allocations: 9.548 MB / 0.5367 GB, free: 63.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6138, allocations: 4.062 kB / 0.5368 GB, free: 63.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.615, allocations: 283.6 kB / 0.537 GB, free: 62.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/0.6198, allocations: 1.842 MB / 0.5388 GB, free: 61.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.62, allocations: 35.91 kB / 0.5389 GB, free: 60.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.6313, allocations: 10.23 MB / 0.5488 GB, free: 50.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6313, allocations: 3.984 kB / 0.5488 GB, free: 50.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.6424, allocations: 8.116 MB / 0.5568 GB, free: 42.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.6434, allocations: 373.4 kB / 0.5571 GB, free: 42.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/0.6439, allocations: 35.98 kB / 0.5572 GB, free: 42.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/0.6458, allocations: 195.7 kB / 0.5573 GB, free: 41.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.6462, allocations: 129.1 kB / 0.5575 GB, free: 41.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.6463, allocations: 48 kB / 0.5575 GB, free: 41.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002711/0.6491, allocations: 2.445 MB / 0.5599 GB, free: 39.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6491, allocations: 0 / 0.5599 GB, free: 39.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004497/0.6536, allocations: 1.316 MB / 0.5612 GB, free: 38 MB / 430.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.0004251/0.654, allocations: 182.8 kB / 0.5614 GB, free: 37.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007455/0.6614, allocations: 6.243 MB / 0.5675 GB, free: 31.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6614, allocations: 0 / 0.5675 GB, free: 31.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.6637, allocations: 1.999 MB / 0.5694 GB, free: 29.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.6664, allocations: 0.5054 MB / 0.5699 GB, free: 29.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/0.679, allocations: 10.47 MB / 0.5801 GB, free: 18.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.6816, allocations: 2.854 MB / 0.5829 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003305/0.6849, allocations: 1.843 MB / 0.5847 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.6856, allocations: 244.5 kB / 0.5849 GB, free: 13.56 MB / 430.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6856, allocations: 0 / 0.5849 GB, free: 13.56 MB / 430.1 MB Notification: Performance of Templates: time 0.2514/0.937, allocations: 47.49 MB / 0.6313 GB, free: 142.2 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.933161836117506]