Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.000798/0.000798, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002255, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007851/0.0007851, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00189, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.013/1.013, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08833/1.102, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.765e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007263/0.00728, allocations: 9.798 MB / 255 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.01187, allocations: 3.863 MB / 258.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.01233, allocations: 67.69 kB / 258.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.01415, allocations: 1.985 MB / 260.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.01595, allocations: 1.703 MB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.01659, allocations: 0.6196 MB / 263.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.01888, allocations: 3.653 MB / 266.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.02039, allocations: 2.244 MB / 269.1 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.02185, allocations: 2.03 MB / 271.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.02322, allocations: 1.734 MB / 272.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.02347, allocations: 256 kB / 273.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.02454, allocations: 0.9945 MB / 274.2 MB, free: 464 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1086/0.1331, allocations: 1.501 MB / 275.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.1346, allocations: 0.8451 MB / 276.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.139, allocations: 3.541 MB / 280 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.139, allocations: 3.469 kB / 280 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.139, allocations: 0 / 280 MB, free: 6.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.1392, allocations: 1.125 kB / 280 MB, free: 6.418 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006736/0.1459, allocations: 4.538 MB / 284.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1459, allocations: 9.531 kB / 284.6 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.1486, allocations: 0.939 MB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.1506, allocations: 1.466 MB / 287 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.1507, allocations: 187.9 kB / 287.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.151, allocations: 255.6 kB / 287.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006145/0.1571, allocations: 4.237 MB / 291.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/0.1572, allocations: 35.95 kB / 291.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.1574, allocations: 126.5 kB / 291.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.1587, allocations: 1.381 MB / 293.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.163, allocations: 2.108 MB / 295.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02383/0.1868, allocations: 27.43 MB / 322.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.1896, allocations: 1.265 MB / 324 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.1899, allocations: 279.8 kB / 324.3 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004337/0.1943, allocations: 2.965 MB / 327.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1943, allocations: 49.67 kB / 327.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=103): time 2.525e-06/0.1943, allocations: 0 / 327.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.005947/0.2002, allocations: 2.649 MB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2003, allocations: 141.5 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.2027, allocations: 2.899 MB / 333 MB, free: 484 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.2028, allocations: 39.73 kB / 333 MB, free: 440 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.204, allocations: 2.759 MB / 335.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.2043, allocations: 463.5 kB / 336.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007955/0.2051, allocations: 1.012 MB / 337.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.2051, allocations: 305.1 kB / 337.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009333/0.2061, allocations: 0.6145 MB / 338.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.2085, allocations: 4.012 MB / 342.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.2128, allocations: 5.518 MB / 347.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.735e-05/0.2129, allocations: 39.94 kB / 347.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.004505/0.2174, allocations: 3.597 MB / 351.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.2174, allocations: 60 kB / 351.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.2175, allocations: 128 kB / 351.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.2176, allocations: 172 kB / 351.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.22, allocations: 1.357 MB / 353 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001155/0.2201, allocations: 243.9 kB / 353.3 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.2225, allocations: 242.9 kB / 353.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/0.2229, allocations: 296 kB / 353.8 MB, free: 8.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (667): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001446/0.2243, allocations: 0.5601 MB / 354.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.2247, allocations: 173.9 kB / 354.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.2255, allocations: 0.4932 MB / 355 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.2255, allocations: 16 kB / 355 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.2255, allocations: 3.984 kB / 355 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2255, allocations: 0 / 355 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.2293, allocations: 2.188 MB / 357.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.2293, allocations: 8 kB / 357.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.2297, allocations: 147.8 kB / 357.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.2302, allocations: 257.9 kB / 357.6 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.2304, allocations: 46.84 kB / 357.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.2305, allocations: 20 kB / 357.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2317, allocations: 1.419 MB / 359.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2317, allocations: 3.938 kB / 359.1 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2329, allocations: 1.239 MB / 360.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.2332, allocations: 12 kB / 360.4 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.2337, allocations: 16 kB / 360.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2338, allocations: 55.84 kB / 360.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.2338, allocations: 23.98 kB / 360.5 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.2349, allocations: 1.031 MB / 361.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2349, allocations: 0 / 361.5 MB, free: 1.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002972/0.2379, allocations: 0.7879 MB / 362.3 MB, free: 0.668 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003176/0.2382, allocations: 150.9 kB / 362.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.2405, allocations: 2.039 MB / 364.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001648/0.2406, allocations: 96.16 kB / 364.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.2412, allocations: 405.6 kB / 365 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.2438, allocations: 2.651 MB / 367.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.2541, allocations: 5.871 MB / 373.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.2551, allocations: 0.9863 MB / 374.5 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00117/0.2563, allocations: 419.1 kB / 374.9 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/0.2568, allocations: 469.1 kB / 375.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2568, allocations: 0 / 375.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of Templates: time 0.03645/0.2933, allocations: 20.8 MB / 396.1 MB, free: 14.63 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.144493732601404]