Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.691e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01412/0.01415, allocations: 9.929 MB / 277.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008841/0.02299, allocations: 3.701 MB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.02449, allocations: 67.69 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.02926, allocations: 2.087 MB / 283.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.03492, allocations: 1.765 MB / 284.9 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.03683, allocations: 0.6664 MB / 285.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005638/0.04246, allocations: 3.699 MB / 289.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1114/0.1539, allocations: 2.459 MB / 291.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.1567, allocations: 1.912 MB / 293.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.1595, allocations: 1.859 MB / 295.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005996/0.1601, allocations: 258.8 kB / 295.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.162, allocations: 0.9874 MB / 296.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.1633, allocations: 1.699 MB / 298.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.1646, allocations: 1.048 MB / 299.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005194/0.1698, allocations: 5.884 MB / 305.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1698, allocations: 0 / 305.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1698, allocations: 1.562 kB / 305.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.1699, allocations: 0 / 305.3 MB, free: 13.24 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.007066/0.177, allocations: 4.758 MB / 310.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.177, allocations: 9.781 kB / 310.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.1832, allocations: 2.187 MB / 312.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.1869, allocations: 1.732 MB / 314 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1871, allocations: 187.5 kB / 314.2 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.1875, allocations: 257.9 kB / 314.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009314/0.1968, allocations: 5.639 MB / 320.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.1969, allocations: 40.02 kB / 320.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.1973, allocations: 119.8 kB / 320.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002242/0.1995, allocations: 1.7 MB / 322 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.2098, allocations: 3.039 MB / 325 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0577/0.2675, allocations: 41.69 MB / 366.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/0.2748, allocations: 1.674 MB / 368.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.2761, allocations: 0.5185 MB / 368.9 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008261/0.2844, allocations: 3.206 MB / 372.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/0.2844, allocations: 46.05 kB / 372.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 5.04e-06/0.2844, allocations: 0 / 372.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.03008/0.3145, allocations: 8.629 MB / 380.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3146, allocations: 141.2 kB / 380.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007499/0.3221, allocations: 3.973 MB / 384.9 MB, free: 452 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.3224, allocations: 44.36 kB / 384.9 MB, free: 404 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003363/0.3258, allocations: 3.208 MB / 388.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009661/0.3267, allocations: 0.584 MB / 388.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002183/0.3289, allocations: 1.365 MB / 390.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.3292, allocations: 480.8 kB / 390.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.3306, allocations: 0.5999 MB / 391.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007025/0.3376, allocations: 5.856 MB / 397 MB, free: 2.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009837/0.3475, allocations: 7.095 MB / 404.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/0.3476, allocations: 36 kB / 404.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01104/0.3586, allocations: 4.768 MB / 408.9 MB, free: 3.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3588, allocations: 59.98 kB / 409 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/0.3589, allocations: 120 kB / 409.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000889/0.3598, allocations: 343.7 kB / 409.4 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/0.3639, allocations: 1.251 MB / 410.7 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.3669, allocations: 2.472 MB / 413.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/0.371, allocations: 319.5 kB / 413.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/0.3717, allocations: 335.9 kB / 413.8 MB, free: 14.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * 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: 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.3735, allocations: 0.689 MB / 414.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007333/0.3742, allocations: 318.1 kB / 414.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/0.3783, allocations: 1.351 MB / 416.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.3783, allocations: 16.03 kB / 416.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3783, allocations: 15.81 kB / 416.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.3783, allocations: 11.98 kB / 416.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.3916, allocations: 4.968 MB / 421.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3917, allocations: 0 / 421.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/0.3925, allocations: 171.9 kB / 421.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.3946, allocations: 462.8 kB / 421.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.3947, allocations: 19.98 kB / 421.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005029/0.3998, allocations: 3.021 MB / 424.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3998, allocations: 8.031 kB / 424.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005598/0.4054, allocations: 2.398 MB / 427.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/0.4062, allocations: 273.9 kB / 427.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/0.4066, allocations: 16 kB / 427.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.4077, allocations: 95.84 kB / 427.6 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.4079, allocations: 72.52 kB / 427.6 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.408, allocations: 36.03 kB / 427.7 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1361/0.5442, allocations: 1.615 MB / 429.3 MB, free: 115.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5442, allocations: 1.312 kB / 429.3 MB, free: 115.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0061/0.5503, allocations: 0.8928 MB / 430.2 MB, free: 115.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007123/0.551, allocations: 178.9 kB / 430.4 MB, free: 115.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006529/0.5575, allocations: 2.812 MB / 433.2 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5575, allocations: 1.469 kB / 433.2 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.559, allocations: 0.679 MB / 433.9 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.5616, allocations: 343.1 kB / 434.2 MB, free: 115 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.5736, allocations: 6.023 MB / 440.2 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/0.576, allocations: 2.029 MB / 442.2 MB, free: 112.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002865/0.5788, allocations: 1.396 MB / 443.6 MB, free: 112.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.5794, allocations: 196.3 kB / 443.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.522e-06/0.5794, allocations: 0 / 443.8 MB, free: 112.2 MB / 378.7 MB Notification: Performance of Templates: time 0.04635/0.6257, allocations: 25.9 MB / 469.7 MB, free: 94.81 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.139208379900083]