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.001709/0.001709, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00258/0.00258, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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.437/1.437, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 58.56 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2717, allocations: 49.15 MB / 396.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01074/0.2824, allocations: 10.81 MB / 407.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008686/0.2911, allocations: 4.257 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002449/0.2935, allocations: 103.6 kB / 412 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00646/0.3, allocations: 2.834 MB / 414.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.3062, allocations: 2.102 MB / 417 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.3089, allocations: 1.038 MB / 418 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008266/0.3172, allocations: 5.331 MB / 423.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004905/0.3221, allocations: 3.152 MB / 426.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003499/0.3256, allocations: 1.811 MB / 428.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/0.3298, allocations: 2.445 MB / 430.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001081/0.3309, allocations: 384 kB / 431.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.3337, allocations: 1.167 MB / 432.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002753/0.3364, allocations: 2.24 MB / 434.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.3395, allocations: 1.845 MB / 436.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009595/0.3491, allocations: 8.061 MB / 444.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3491, allocations: 3.938 kB / 444.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3491, allocations: 0 / 444.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001456/0.3493, allocations: 0 / 444.4 MB, free: 3.473 MB / 350.1 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.01126/0.3605, allocations: 5.446 MB / 449.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3606, allocations: 11.98 kB / 449.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02758/0.3882, allocations: 3.227 MB / 453.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.3985, allocations: 3.68 MB / 456.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.3988, allocations: 250.3 kB / 457 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.3998, allocations: 335.8 kB / 457.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.4187, allocations: 10.44 MB / 467.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.4188, allocations: 55.62 kB / 467.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/0.4193, allocations: 159.8 kB / 468 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.423, allocations: 2.029 MB / 470 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4407, allocations: 8.868 MB / 478.9 MB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05254/0.4932, allocations: 36.6 MB / 0.5034 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.5024, allocations: 3.477 MB / 0.5068 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/0.5055, allocations: 2.088 MB / 0.5089 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/0.5061, allocations: 204.6 kB / 0.5091 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.5061, allocations: 51.5 kB / 0.5091 GB, free: 4.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.328e-06/0.5061, allocations: 0 / 0.5091 GB, free: 4.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.06392/0.57, allocations: 22.92 MB / 0.5315 GB, free: 13.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.5702, allocations: 252.8 kB / 0.5317 GB, free: 13.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/0.5759, allocations: 4.037 MB / 0.5357 GB, free: 9.352 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/0.5763, allocations: 57.64 kB / 0.5357 GB, free: 9.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002993/0.5793, allocations: 3.342 MB / 0.539 GB, free: 5.914 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.5805, allocations: 0.8411 MB / 0.5398 GB, free: 5.066 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.5824, allocations: 1.298 MB / 0.5411 GB, free: 3.758 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5825, allocations: 301.1 kB / 0.5414 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/0.5869, allocations: 2.554 MB / 0.5439 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008099/0.595, allocations: 6.227 MB / 0.5499 GB, free: 8.891 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1836/0.7786, allocations: 9.285 MB / 0.559 GB, free: 137.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/0.7787, allocations: 36.34 kB / 0.559 GB, free: 137.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01954/0.7982, allocations: 10.71 MB / 0.5695 GB, free: 134.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.7983, allocations: 58.31 kB / 0.5695 GB, free: 134.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.7985, allocations: 124.4 kB / 0.5697 GB, free: 134.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/0.8053, allocations: 2.616 MB / 0.5722 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.8092, allocations: 1.352 MB / 0.5735 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.8282, allocations: 18.01 MB / 0.5911 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/0.8324, allocations: 373.4 kB / 0.5915 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005086/0.833, allocations: 375.8 kB / 0.5918 GB, free: 124.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (731): * Single equations (assignments): 725 * 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 {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.002675/0.8356, allocations: 2.228 MB / 0.594 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005122/0.8361, allocations: 363.8 kB / 0.5944 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008342/0.8445, allocations: 5.1 MB / 0.5993 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.8445, allocations: 24 kB / 0.5994 GB, free: 118.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/0.8445, allocations: 7.938 kB / 0.5994 GB, free: 118.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.8445, allocations: 11.97 kB / 0.5994 GB, free: 118.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.8597, allocations: 9.675 MB / 0.6088 GB, free: 108.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.8597, allocations: 4 kB / 0.6088 GB, free: 108.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.8611, allocations: 307.5 kB / 0.6091 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004655/0.8657, allocations: 1.85 MB / 0.6109 GB, free: 106.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.8659, allocations: 40 kB / 0.611 GB, free: 106.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/0.8767, allocations: 10.14 MB / 0.6209 GB, free: 96.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8767, allocations: 6.562 kB / 0.6209 GB, free: 96.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.8878, allocations: 8.3 MB / 0.629 GB, free: 88.17 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.8898, allocations: 0.6706 MB / 0.6296 GB, free: 87.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.8902, allocations: 36 kB / 0.6297 GB, free: 87.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.8918, allocations: 139.8 kB / 0.6298 GB, free: 87.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003475/0.8922, allocations: 140.9 kB / 0.6299 GB, free: 87.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8923, allocations: 55.52 kB / 0.63 GB, free: 87.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002578/0.8949, allocations: 2.368 MB / 0.6323 GB, free: 84.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8949, allocations: 0 / 0.6323 GB, free: 84.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004167/0.8991, allocations: 1.199 MB / 0.6335 GB, free: 83.6 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 (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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003738/0.8994, allocations: 176.2 kB / 0.6337 GB, free: 83.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007691/0.9071, allocations: 6.383 MB / 0.6399 GB, free: 77.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.9071, allocations: 128 / 0.6399 GB, free: 77.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.9096, allocations: 2.076 MB / 0.6419 GB, free: 74.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.9121, allocations: 0.512 MB / 0.6424 GB, free: 74.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.9277, allocations: 10.92 MB / 0.6531 GB, free: 63.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/0.931, allocations: 3.003 MB / 0.656 GB, free: 60.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004319/0.9353, allocations: 1.875 MB / 0.6578 GB, free: 58.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.936, allocations: 247.4 kB / 0.6581 GB, free: 58.33 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.936, allocations: 3.391 kB / 0.6581 GB, free: 58.33 MB / 478.1 MB Notification: Performance of Templates: time 0.07093/1.007, allocations: 51.3 MB / 0.7082 GB, free: 6.934 MB / 478.1 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.910076851025224]