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.001425/0.001425, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001578/0.001578, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.504/1.504, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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 1.613e-06/1.613e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.38e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01342/0.01345, allocations: 9.043 MB / 281.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009273/0.02273, allocations: 3.691 MB / 284.9 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.0245, allocations: 63.69 kB / 285 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0049/0.0294, allocations: 2.157 MB / 287.2 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.03454, allocations: 1.719 MB / 288.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.03638, allocations: 0.7405 MB / 289.6 MB, free: 308 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1389/0.1753, allocations: 3.762 MB / 293.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.1788, allocations: 2.527 MB / 295.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.1824, allocations: 1.913 MB / 297.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.1858, allocations: 1.884 MB / 299.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.1864, allocations: 267.9 kB / 300 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.1883, allocations: 1.054 MB / 301 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.1902, allocations: 1.667 MB / 302.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.192, allocations: 1.054 MB / 303.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.198, allocations: 5.943 MB / 309.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.198, allocations: 3.438 kB / 309.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.198, allocations: 0 / 309.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001545/0.1982, allocations: 0.6562 kB / 309.7 MB, free: 9.625 MB / 266.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.007627/0.2058, allocations: 4.153 MB / 313.8 MB, free: 6.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2058, allocations: 11.98 kB / 313.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/0.2124, allocations: 2.421 MB / 316.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.2156, allocations: 1.842 MB / 318.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2157, allocations: 203.4 kB / 318.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.2162, allocations: 271 kB / 318.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.2374, allocations: 10.06 MB / 328.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.2376, allocations: 37.67 kB / 328.7 MB, free: 7.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004666/0.238, allocations: 129 kB / 328.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/0.2416, allocations: 1.86 MB / 330.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.2627, allocations: 8.544 MB / 339.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05399/0.3167, allocations: 34.82 MB / 374 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.3275, allocations: 3.243 MB / 377.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002929/0.3304, allocations: 1.682 MB / 379 MB, free: 4.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/0.3429, allocations: 6.327 MB / 385.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.3429, allocations: 50.92 kB / 385.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 3.907e-06/0.3429, allocations: 0 / 385.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.05714/0.4001, allocations: 18.13 MB / 403.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4002, allocations: 144.9 kB / 403.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.4058, allocations: 3.301 MB / 406.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003988/0.4062, allocations: 49.7 kB / 406.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.4089, allocations: 2.846 MB / 409.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.41, allocations: 0.6643 MB / 410.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/0.4118, allocations: 1.106 MB / 411.6 MB, free: 3.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.412, allocations: 305.1 kB / 411.9 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/0.4161, allocations: 1.967 MB / 413.8 MB, free: 1.562 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007685/0.4237, allocations: 5.395 MB / 419.2 MB, free: 10.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.4366, allocations: 7.964 MB / 427.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/0.4367, allocations: 36 kB / 427.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.1474/0.5841, allocations: 8.48 MB / 435.7 MB, free: 117.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.5842, allocations: 57.17 kB / 435.8 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/0.5844, allocations: 122.6 kB / 435.9 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004501/0.5889, allocations: 1.402 MB / 437.3 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/0.593, allocations: 1.272 MB / 438.6 MB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.6008, allocations: 6.386 MB / 444.9 MB, free: 114.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.6049, allocations: 356.4 kB / 445.3 MB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006471/0.6056, allocations: 342.4 kB / 445.6 MB, free: 114.1 MB / 378.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.00283/0.6084, allocations: 1.815 MB / 447.4 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/0.6092, allocations: 326.4 kB / 447.8 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006921/0.6162, allocations: 3.335 MB / 451.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.6162, allocations: 20.19 kB / 451.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.6162, allocations: 6.562 kB / 451.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.6162, allocations: 11.39 kB / 451.1 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.628, allocations: 6.675 MB / 457.8 MB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.628, allocations: 0 / 457.8 MB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.6291, allocations: 251.6 kB / 458 MB, free: 107.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/0.6328, allocations: 1.206 MB / 459.3 MB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002064/0.633, allocations: 24.88 kB / 459.3 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.64, allocations: 6.026 MB / 465.3 MB, free: 99.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.64, allocations: 0 / 465.3 MB, free: 99.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008547/0.6485, allocations: 5.759 MB / 471.1 MB, free: 94.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.6494, allocations: 274.2 kB / 471.3 MB, free: 93.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003237/0.6497, allocations: 24 kB / 471.4 MB, free: 93.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.6511, allocations: 139.8 kB / 471.5 MB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.6514, allocations: 88.83 kB / 471.6 MB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.6516, allocations: 43.98 kB / 471.6 MB, free: 93.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002298/0.6538, allocations: 1.885 MB / 473.5 MB, free: 91.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6538, allocations: 0 / 473.5 MB, free: 91.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003915/0.6578, allocations: 0.9589 MB / 474.5 MB, free: 90.82 MB / 378.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.0003794/0.6581, allocations: 181.6 kB / 474.6 MB, free: 90.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005738/0.6639, allocations: 4.636 MB / 479.3 MB, free: 86.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6639, allocations: 0 / 479.3 MB, free: 86.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.6657, allocations: 1.452 MB / 480.7 MB, free: 84.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.6675, allocations: 325.9 kB / 481 MB, free: 84.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6792, allocations: 8.18 MB / 489.2 MB, free: 76.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.6815, allocations: 2.301 MB / 491.5 MB, free: 73.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003342/0.6849, allocations: 1.662 MB / 493.2 MB, free: 72.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.6855, allocations: 200.5 kB / 493.4 MB, free: 71.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6855, allocations: 0 / 493.4 MB, free: 71.87 MB / 378.7 MB Notification: Performance of Templates: time 0.04622/0.7317, allocations: 29.03 MB / 0.5102 GB, free: 43.29 MB / 378.7 MB " [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.219596725073643]