Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.001801/0.001801, allocations: 120 kB / 18.5 MB, free: 4.539 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.002009/0.002009, allocations: 209.7 kB / 21.46 MB, free: 1.59 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.482/1.482, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 53.33 MB / 427.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.2125/0.3213, allocations: 10.3 MB / 437.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.3284, allocations: 3.894 MB / 441.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.33, allocations: 57.22 kB / 441.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004028/0.334, allocations: 2.106 MB / 443.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004771/0.3388, allocations: 1.64 MB / 445.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.3406, allocations: 0.6911 MB / 445.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005096/0.3457, allocations: 3.385 MB / 449.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.3495, allocations: 2.311 MB / 451.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.3526, allocations: 1.249 MB / 452.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.3563, allocations: 1.899 MB / 454.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008073/0.3571, allocations: 262.8 kB / 454.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.3599, allocations: 1.146 MB / 456.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.362, allocations: 1.596 MB / 457.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003705/0.3657, allocations: 1.845 MB / 459.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3762, allocations: 5.916 MB / 465.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3762, allocations: 0 / 465.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3762, allocations: 5.094 kB / 465.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002235/0.3764, allocations: 0 / 465.5 MB, free: 7.691 MB / 366.1 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.01236/0.3888, allocations: 4.214 MB / 469.7 MB, free: 4.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3888, allocations: 15.12 kB / 469.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00778/0.3966, allocations: 1.875 MB / 471.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.4017, allocations: 1.89 MB / 473.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4019, allocations: 209.2 kB / 473.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.403, allocations: 273.5 kB / 473.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.425, allocations: 10 MB / 483.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.4251, allocations: 39.64 kB / 484 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/0.4256, allocations: 135.9 kB / 484.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003632/0.4292, allocations: 1.856 MB / 486 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.4504, allocations: 8.558 MB / 494.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/0.5009, allocations: 36.76 MB / 0.5188 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.5121, allocations: 3.78 MB / 0.5225 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.5152, allocations: 1.697 MB / 0.5242 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.5311, allocations: 7.612 MB / 0.5316 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/0.5312, allocations: 59.5 kB / 0.5317 GB, free: 9.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.74e-06/0.5312, allocations: 0 / 0.5317 GB, free: 9.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.06017/0.5913, allocations: 17.73 MB / 0.549 GB, free: 7.297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5914, allocations: 145.5 kB / 0.5491 GB, free: 7.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005516/0.597, allocations: 3.47 MB / 0.5525 GB, free: 3.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.5973, allocations: 49.7 kB / 0.5525 GB, free: 3.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.5995, allocations: 2.854 MB / 0.5553 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009094/0.6005, allocations: 0.6706 MB / 0.556 GB, free: 44 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.6022, allocations: 1.124 MB / 0.5571 GB, free: 14.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6023, allocations: 305.1 kB / 0.5574 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/0.6059, allocations: 1.967 MB / 0.5593 GB, free: 12.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/0.6128, allocations: 5.393 MB / 0.5646 GB, free: 5.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/0.6252, allocations: 7.948 MB / 0.5723 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/0.6253, allocations: 36 kB / 0.5724 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01847/0.6438, allocations: 8.194 MB / 0.5804 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.6439, allocations: 60.03 kB / 0.5804 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.644, allocations: 120 kB / 0.5805 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004528/0.6486, allocations: 1.3 MB / 0.5818 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.6532, allocations: 1.267 MB / 0.583 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6636, allocations: 6.543 MB / 0.5894 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/0.6684, allocations: 307.6 kB / 0.5897 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008584/0.6693, allocations: 340 kB / 0.59 GB, free: 9.574 MB / 0.4981 GB 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.003825/0.6731, allocations: 1.821 MB / 0.5918 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/0.6738, allocations: 317.8 kB / 0.5921 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/0.6817, allocations: 3.373 MB / 0.5954 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/0.6817, allocations: 20 kB / 0.5954 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6817, allocations: 4 kB / 0.5954 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.6817, allocations: 3.984 kB / 0.5954 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.6979, allocations: 7.574 MB / 0.6028 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.6979, allocations: 3.938 kB / 0.6028 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.6992, allocations: 243.7 kB / 0.6031 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004073/0.7032, allocations: 1.124 MB / 0.6042 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.7034, allocations: 31.94 kB / 0.6042 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00954/0.7129, allocations: 6.179 MB / 0.6102 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7129, allocations: 0 / 0.6102 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2191/0.932, allocations: 5.748 MB / 0.6159 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.9328, allocations: 362.7 kB / 0.6162 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004509/0.9333, allocations: 30.61 kB / 0.6162 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.9346, allocations: 92.8 kB / 0.6163 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.9349, allocations: 85.2 kB / 0.6164 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.935, allocations: 46.89 kB / 0.6164 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003033/0.938, allocations: 2.139 MB / 0.6185 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.938, allocations: 2.062 kB / 0.6185 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004302/0.9423, allocations: 0.8963 MB / 0.6194 GB, free: 163.7 MB / 0.5137 GB 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.0003878/0.9427, allocations: 168.5 kB / 0.6196 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0076/0.9503, allocations: 4.629 MB / 0.6241 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.9503, allocations: 1.156 kB / 0.6241 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.9527, allocations: 1.445 MB / 0.6255 GB, free: 162 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/0.9553, allocations: 359.8 kB / 0.6258 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.9701, allocations: 8.133 MB / 0.6338 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.9732, allocations: 2.85 MB / 0.6366 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003625/0.9768, allocations: 1.698 MB / 0.6382 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005882/0.9774, allocations: 211.1 kB / 0.6384 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.9774, allocations: 3.062 kB / 0.6384 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.04936/1.027, allocations: 31.51 MB / 0.6692 GB, free: 135.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.398299421183765]