Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9411/0.9411, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.73e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.007416/0.007443, allocations: 9.018 MB / 308.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.01316, allocations: 3.608 MB / 312.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.01418, allocations: 67.69 kB / 312.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.01623, allocations: 1.997 MB / 314.4 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.01927, allocations: 1.761 MB / 316.2 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.02023, allocations: 0.6625 MB / 316.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.02322, allocations: 3.711 MB / 320.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.02578, allocations: 2.394 MB / 322.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.02767, allocations: 1.906 MB / 324.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.02911, allocations: 1.824 MB / 326.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.02936, allocations: 260 kB / 326.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.03065, allocations: 0.975 MB / 327.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.03199, allocations: 1.695 MB / 329.6 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008715/0.03286, allocations: 1.04 MB / 330.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.03785, allocations: 5.867 MB / 336.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.03785, allocations: 0 / 336.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.03785, allocations: 0 / 336.5 MB, free: 1.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.101e-05/0.03792, allocations: 0 / 336.5 MB, free: 1.961 MB / 314.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.004885/0.04281, allocations: 4.073 MB / 340.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.04286, allocations: 15.98 kB / 340.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.04627, allocations: 1.824 MB / 342.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.04891, allocations: 1.919 MB / 344.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.104e-05/0.049, allocations: 193 kB / 344.5 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.04929, allocations: 259.8 kB / 344.8 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007341/0.05663, allocations: 8.452 MB / 353.2 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.149e-05/0.05669, allocations: 47.62 kB / 353.3 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.05691, allocations: 123.8 kB / 353.4 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1378/0.1947, allocations: 1.697 MB / 355.1 MB, free: 56.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.2069, allocations: 7.084 MB / 362.2 MB, free: 54.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/0.2291, allocations: 32.25 MB / 394.4 MB, free: 25.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.2328, allocations: 2.823 MB / 397.2 MB, free: 22.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009263/0.2337, allocations: 1.355 MB / 398.6 MB, free: 21.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/0.2368, allocations: 3.464 MB / 402.1 MB, free: 17.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2368, allocations: 47.16 kB / 402.1 MB, free: 17.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.356e-06/0.2368, allocations: 0 / 402.1 MB, free: 17.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01496/0.2518, allocations: 11.89 MB / 414 MB, free: 6.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2518, allocations: 145.1 kB / 414.1 MB, free: 5.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.2544, allocations: 3.571 MB / 417.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.2544, allocations: 41.7 kB / 417.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/0.2553, allocations: 2.849 MB / 420.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.2557, allocations: 0.5385 MB / 421.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009278/0.2566, allocations: 1.068 MB / 422.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.2567, allocations: 305.1 kB / 422.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.2584, allocations: 1.701 MB / 424.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/0.2618, allocations: 5.124 MB / 429.3 MB, free: 5.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006275/0.2681, allocations: 7.412 MB / 436.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.284e-05/0.2681, allocations: 36 kB / 436.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007391/0.2755, allocations: 6.701 MB / 443.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.2756, allocations: 60 kB / 443.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-05/0.2756, allocations: 124.1 kB / 443.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.276, allocations: 316.7 kB / 444 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.278, allocations: 1.249 MB / 445.2 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.2801, allocations: 2.359 MB / 447.6 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.2824, allocations: 323.5 kB / 447.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.2827, allocations: 339.8 kB / 448.2 MB, free: 368 kB / 362.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.002233/0.2849, allocations: 1.789 MB / 450 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.2852, allocations: 290.5 kB / 450.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.2879, allocations: 2.31 MB / 452.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2879, allocations: 20 kB / 452.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2879, allocations: 7.938 kB / 452.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.2879, allocations: 7.922 kB / 452.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.2939, allocations: 5.174 MB / 457.8 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2939, allocations: 4 kB / 457.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.2943, allocations: 171.8 kB / 458 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.2955, allocations: 0.7146 MB / 458.7 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.2955, allocations: 31.98 kB / 458.7 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.2993, allocations: 4.694 MB / 463.4 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2993, allocations: 4 kB / 463.4 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.3032, allocations: 4.293 MB / 467.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.3038, allocations: 461.9 kB / 468.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.304, allocations: 20 kB / 468.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.3046, allocations: 103.8 kB / 468.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3047, allocations: 68.53 kB / 468.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.3047, allocations: 39.98 kB / 468.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001935/0.3067, allocations: 2.061 MB / 470.5 MB, free: 9.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3067, allocations: 0 / 470.5 MB, free: 9.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002775/0.3094, allocations: 0.898 MB / 471.3 MB, free: 9.031 MB / 394.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.0003469/0.3098, allocations: 186.5 kB / 471.5 MB, free: 8.844 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.3136, allocations: 3.896 MB / 475.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3136, allocations: 0 / 475.4 MB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.3145, allocations: 1.034 MB / 476.5 MB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3156, allocations: 336.9 kB / 476.8 MB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007639/0.3232, allocations: 7.695 MB / 484.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.325, allocations: 2.244 MB / 486.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.3255, allocations: 232.5 kB / 487 MB, free: 9.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3255, allocations: 0 / 487 MB, free: 9.344 MB / 410.7 MB Notification: Performance of Templates: time 0.1958/0.5213, allocations: 65 MB / 0.539 GB, free: 145.7 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.768788105808198]