Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.0009336/0.0009336, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0009135/0.0009135, allocations: 156.9 kB / 25.45 MB, free: 9.352 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 0.8421/0.8421, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.174e-05, allocations: 2.281 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007635/0.007657, allocations: 9.088 MB / 308.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007515/0.01517, allocations: 3.688 MB / 312.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.01668, allocations: 67.62 kB / 312.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.0192, allocations: 2.129 MB / 314.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.02209, allocations: 1.75 MB / 316.4 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.02312, allocations: 0.7366 MB / 317.2 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.02654, allocations: 3.739 MB / 320.9 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.02869, allocations: 2.476 MB / 323.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.03071, allocations: 1.937 MB / 325.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.03257, allocations: 1.902 MB / 327.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.03289, allocations: 268 kB / 327.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.03426, allocations: 1.065 MB / 328.6 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.03526, allocations: 1.687 MB / 330.2 MB, free: 8.223 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.03611, allocations: 1.071 MB / 331.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004204/0.04031, allocations: 6 MB / 337.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.04032, allocations: 0 / 337.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04032, allocations: 0 / 337.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.8e-05/0.04038, allocations: 0 / 337.3 MB, free: 1.129 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.004502/0.04488, allocations: 4.184 MB / 341.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.04493, allocations: 11.98 kB / 341.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.04834, allocations: 1.913 MB / 343.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.05043, allocations: 1.877 MB / 345.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.05054, allocations: 213.1 kB / 345.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.05085, allocations: 263.9 kB / 345.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1821/0.2329, allocations: 10.03 MB / 355.8 MB, free: 54.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.233, allocations: 43.77 kB / 355.8 MB, free: 54.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/0.2333, allocations: 132.9 kB / 356 MB, free: 54.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.2354, allocations: 1.851 MB / 357.8 MB, free: 54.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.2484, allocations: 8.524 MB / 366.3 MB, free: 52.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.2694, allocations: 34.77 MB / 401.1 MB, free: 19.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004828/0.2743, allocations: 3.21 MB / 404.3 MB, free: 16.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.2756, allocations: 1.697 MB / 406 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005837/0.2814, allocations: 6.322 MB / 412.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2814, allocations: 51.55 kB / 412.4 MB, free: 8.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 4.809e-06/0.2814, allocations: 0 / 412.4 MB, free: 8.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.02819/0.3096, allocations: 18.01 MB / 430.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.3097, allocations: 149.5 kB / 430.5 MB, free: 6.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.3128, allocations: 3.356 MB / 433.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/0.3129, allocations: 45.7 kB / 433.9 MB, free: 2.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.3142, allocations: 2.842 MB / 436.8 MB, free: 92 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.3147, allocations: 0.6704 MB / 437.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009536/0.3156, allocations: 1.1 MB / 438.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.3157, allocations: 309.1 kB / 438.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.3176, allocations: 1.943 MB / 440.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/0.3212, allocations: 5.381 MB / 446.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/0.3274, allocations: 7.925 MB / 454.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/0.3274, allocations: 32 kB / 454.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.009215/0.3367, allocations: 8.135 MB / 462.3 MB, free: 3.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.3367, allocations: 56 kB / 462.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.988e-05/0.3368, allocations: 124.8 kB / 462.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/0.3391, allocations: 1.3 MB / 463.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.3411, allocations: 1.263 MB / 465 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/0.3474, allocations: 6.363 MB / 471.4 MB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.35, allocations: 331.6 kB / 471.7 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.3504, allocations: 342.5 kB / 472 MB, free: 9.305 MB / 394.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: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00261/0.353, allocations: 1.814 MB / 473.9 MB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.3534, allocations: 286.1 kB / 474.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.3575, allocations: 3.315 MB / 477.4 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.3575, allocations: 24 kB / 477.5 MB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3576, allocations: 7.938 kB / 477.5 MB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3576, allocations: 7.969 kB / 477.5 MB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.366, allocations: 6.663 MB / 484.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.366, allocations: 0 / 484.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.3667, allocations: 240.5 kB / 484.4 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/0.3687, allocations: 1.123 MB / 485.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.3688, allocations: 35.98 kB / 485.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.3743, allocations: 6.001 MB / 491.5 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3743, allocations: 3.938 kB / 491.5 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/0.3803, allocations: 5.674 MB / 497.2 MB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009114/0.3812, allocations: 0.494 MB / 497.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.3814, allocations: 20 kB / 497.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.3821, allocations: 141.7 kB / 497.9 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3823, allocations: 96.73 kB / 498 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.3824, allocations: 44 kB / 498 MB, free: 15.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002078/0.3844, allocations: 1.924 MB / 499.9 MB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3844, allocations: 0 / 499.9 MB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002973/0.3874, allocations: 0.9881 MB / 0.4892 GB, free: 12.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.3878, allocations: 194.6 kB / 0.4894 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.3925, allocations: 4.579 MB / 0.4938 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3925, allocations: 4 kB / 0.4938 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.3939, allocations: 1.434 MB / 0.4952 GB, free: 6.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.395, allocations: 304.1 kB / 0.4955 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1414/0.5364, allocations: 8.462 MB / 0.5038 GB, free: 138.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/0.5386, allocations: 2.305 MB / 0.506 GB, free: 138.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/0.5394, allocations: 253.2 kB / 0.5063 GB, free: 138.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5394, allocations: 0 / 0.5063 GB, free: 138.4 MB / 426.7 MB Notification: Performance of Templates: time 0.06088/0.6003, allocations: 66.99 MB / 0.5717 GB, free: 84.08 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 7.533558933995664]