Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001907/0.001907, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002381/0.002381, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.75 kB / 379 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2393, allocations: 53.38 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01288/0.2521, allocations: 10.27 MB / 442.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009291/0.2614, allocations: 3.834 MB / 446.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.2635, allocations: 71.62 kB / 446.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004311/0.2678, allocations: 1.985 MB / 448.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.2728, allocations: 1.672 MB / 450.2 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.2745, allocations: 0.616 MB / 450.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00528/0.2798, allocations: 3.357 MB / 454.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.2827, allocations: 1.916 MB / 456.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.2849, allocations: 1.261 MB / 457.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.2879, allocations: 1.81 MB / 459.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007779/0.2887, allocations: 252 kB / 459.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.2909, allocations: 1.049 MB / 460.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.2927, allocations: 1.601 MB / 462.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.2947, allocations: 1.813 MB / 463.9 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007033/0.3018, allocations: 5.803 MB / 469.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3018, allocations: 4 kB / 469.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3018, allocations: 3.938 kB / 469.7 MB, free: 1.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3019, allocations: 4 kB / 469.7 MB, free: 1.473 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008912/0.3108, allocations: 4.019 MB / 473.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3109, allocations: 16.03 kB / 473.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006938/0.3178, allocations: 1.788 MB / 475.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/0.3224, allocations: 1.868 MB / 477.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.3227, allocations: 188.8 kB / 477.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006544/0.3233, allocations: 259.8 kB / 477.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.3387, allocations: 8.443 MB / 486.3 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.3388, allocations: 43.64 kB / 486.3 MB, free: 100 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.3392, allocations: 124 kB / 486.5 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003064/0.3423, allocations: 1.695 MB / 488.2 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.3571, allocations: 7.11 MB / 495.3 MB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04536/0.4025, allocations: 33.96 MB / 0.5168 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007839/0.4103, allocations: 2.731 MB / 0.5195 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002061/0.4124, allocations: 1.363 MB / 0.5208 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/0.4194, allocations: 3.692 MB / 0.5244 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.4195, allocations: 43.22 kB / 0.5245 GB, free: 12.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.228e-06/0.4195, allocations: 4 kB / 0.5245 GB, free: 12.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03103/0.4505, allocations: 11.52 MB / 0.5357 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.4506, allocations: 141.2 kB / 0.5359 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2211/0.6717, allocations: 3.718 MB / 0.5395 GB, free: 101.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002594/0.6719, allocations: 44.45 kB / 0.5395 GB, free: 101.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.6734, allocations: 2.854 MB / 0.5423 GB, free: 99.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.6739, allocations: 0.5441 MB / 0.5429 GB, free: 99.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.6751, allocations: 1.086 MB / 0.5439 GB, free: 98.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.6751, allocations: 306.8 kB / 0.5442 GB, free: 98.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.6773, allocations: 1.709 MB / 0.5459 GB, free: 98.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.6803, allocations: 5.132 MB / 0.5509 GB, free: 92.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005457/0.6858, allocations: 7.422 MB / 0.5581 GB, free: 86.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.016e-05/0.6859, allocations: 39.31 kB / 0.5582 GB, free: 86.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008743/0.6946, allocations: 6.752 MB / 0.5648 GB, free: 81.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.6947, allocations: 56 kB / 0.5648 GB, free: 81.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.814e-05/0.6948, allocations: 123.8 kB / 0.5649 GB, free: 81.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/0.6953, allocations: 318 kB / 0.5652 GB, free: 81.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.6986, allocations: 1.253 MB / 0.5665 GB, free: 80.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.7007, allocations: 2.39 MB / 0.5688 GB, free: 78.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/0.7052, allocations: 289.7 kB / 0.5691 GB, free: 77.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/0.7058, allocations: 335.2 kB / 0.5694 GB, free: 77.44 MB / 446.1 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.002478/0.7082, allocations: 1.792 MB / 0.5711 GB, free: 75.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/0.7088, allocations: 321.8 kB / 0.5715 GB, free: 75.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.7128, allocations: 2.368 MB / 0.5738 GB, free: 73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.7128, allocations: 12 kB / 0.5738 GB, free: 72.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.7129, allocations: 4 kB / 0.5738 GB, free: 72.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7129, allocations: 3.984 kB / 0.5738 GB, free: 72.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008971/0.7218, allocations: 5.893 MB / 0.5795 GB, free: 67.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.7218, allocations: 4 kB / 0.5795 GB, free: 67.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.7226, allocations: 167.9 kB / 0.5797 GB, free: 66.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.7245, allocations: 0.7186 MB / 0.5804 GB, free: 66.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/0.7246, allocations: 24 kB / 0.5804 GB, free: 66.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004656/0.7293, allocations: 4.722 MB / 0.585 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7293, allocations: 0 / 0.585 GB, free: 61.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.7347, allocations: 4.343 MB / 0.5893 GB, free: 56.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007992/0.7355, allocations: 309.5 kB / 0.5896 GB, free: 56.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.7358, allocations: 20 kB / 0.5896 GB, free: 56.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.7368, allocations: 67.91 kB / 0.5897 GB, free: 56.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.737, allocations: 68.59 kB / 0.5897 GB, free: 56.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-05/0.7371, allocations: 43.34 kB / 0.5898 GB, free: 56.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002466/0.7395, allocations: 2.311 MB / 0.592 GB, free: 54.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7395, allocations: 0 / 0.592 GB, free: 54.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003288/0.7428, allocations: 0.8007 MB / 0.5928 GB, free: 53.37 MB / 446.1 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.0002856/0.7431, allocations: 166.1 kB / 0.593 GB, free: 53.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004304/0.7474, allocations: 3.9 MB / 0.5968 GB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7474, allocations: 3.938 kB / 0.5968 GB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.7486, allocations: 1.037 MB / 0.5978 GB, free: 48.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.7504, allocations: 392.2 kB / 0.5982 GB, free: 47.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/0.7589, allocations: 7.429 MB / 0.6054 GB, free: 40.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.7609, allocations: 2.773 MB / 0.6081 GB, free: 37.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002865/0.7638, allocations: 1.66 MB / 0.6097 GB, free: 35.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.7643, allocations: 211.4 kB / 0.6099 GB, free: 35.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7643, allocations: 3.938 kB / 0.61 GB, free: 35.75 MB / 446.1 MB Notification: Performance of Templates: time 0.04997/0.8142, allocations: 31.75 MB / 0.641 GB, free: 4.277 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.310706180520356]