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.001248/0.001248, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.00142/0.00142, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.382/1.382, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.064e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01294/0.01297, allocations: 9.025 MB / 308 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00953/0.0225, allocations: 3.604 MB / 311.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.02432, allocations: 67.62 kB / 311.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00519/0.02951, allocations: 1.997 MB / 313.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.03535, allocations: 1.769 MB / 315.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.03727, allocations: 0.6624 MB / 316.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00579/0.04306, allocations: 3.715 MB / 319.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/0.04717, allocations: 2.375 MB / 322.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1698/0.217, allocations: 1.909 MB / 324.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.2207, allocations: 1.823 MB / 325.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007382/0.2214, allocations: 258.8 kB / 326.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.224, allocations: 0.9759 MB / 327.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.2263, allocations: 1.691 MB / 328.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.2286, allocations: 1.05 MB / 329.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008008/0.2366, allocations: 5.868 MB / 335.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2366, allocations: 1.062 kB / 335.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2366, allocations: 0 / 335.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001895/0.2368, allocations: 0 / 335.7 MB, free: 16.18 MB / 302.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.0111/0.2479, allocations: 4.067 MB / 339.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.248, allocations: 16.2 kB / 339.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.2547, allocations: 1.834 MB / 341.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.2588, allocations: 1.918 MB / 343.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.2589, allocations: 191.2 kB / 343.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005477/0.2594, allocations: 255.5 kB / 344 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.2737, allocations: 8.456 MB / 352.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.2738, allocations: 37.47 kB / 352.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/0.2742, allocations: 126.5 kB / 352.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.2767, allocations: 1.694 MB / 354.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.2898, allocations: 7.078 MB / 361.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04942/0.3392, allocations: 32.25 MB / 393.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008214/0.3474, allocations: 2.808 MB / 396.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/0.3495, allocations: 1.36 MB / 397.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006978/0.3565, allocations: 3.458 MB / 401.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.3565, allocations: 47.22 kB / 401.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=121): time 3.196e-06/0.3565, allocations: 0 / 401.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.03319/0.3897, allocations: 11.88 MB / 413.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.3898, allocations: 137.2 kB / 413.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005982/0.3958, allocations: 3.565 MB / 416.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000327/0.3961, allocations: 44.12 kB / 417 MB, free: 6.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.3987, allocations: 2.854 MB / 419.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/0.3995, allocations: 0.5317 MB / 420.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/0.4012, allocations: 1.068 MB / 421.4 MB, free: 1.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4013, allocations: 305.1 kB / 421.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/0.4042, allocations: 1.705 MB / 423.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.41, allocations: 5.125 MB / 428.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009804/0.4198, allocations: 7.424 MB / 436 MB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.4199, allocations: 36 kB / 436 MB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01347/0.4334, allocations: 6.705 MB / 442.7 MB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.4335, allocations: 57.22 kB / 442.8 MB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/0.4336, allocations: 124 kB / 442.9 MB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.4343, allocations: 312.7 kB / 443.2 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/0.4384, allocations: 1.255 MB / 444.4 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.4414, allocations: 2.355 MB / 446.8 MB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004866/0.4463, allocations: 323.6 kB / 447.1 MB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000938/0.4473, allocations: 343.9 kB / 447.4 MB, free: 4.5 MB / 398.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.004347/0.4516, allocations: 1.779 MB / 449.2 MB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009829/0.4526, allocations: 286.1 kB / 449.5 MB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/0.458, allocations: 2.321 MB / 451.8 MB, free: 88 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.458, allocations: 16 kB / 451.8 MB, free: 72 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.458, allocations: 7.938 kB / 451.8 MB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.458, allocations: 3.984 kB / 451.9 MB, free: 60 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.471, allocations: 5.183 MB / 457 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.471, allocations: 128 / 457 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/0.472, allocations: 187.6 kB / 457.2 MB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.4745, allocations: 0.7108 MB / 457.9 MB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.4746, allocations: 23.19 kB / 457.9 MB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.482, allocations: 4.696 MB / 462.6 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.482, allocations: 0 / 462.6 MB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008088/0.4901, allocations: 4.298 MB / 466.9 MB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/0.4919, allocations: 458 kB / 467.4 MB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/0.4929, allocations: 19.94 kB / 467.4 MB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/0.4949, allocations: 103.8 kB / 467.5 MB, free: 240 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.4951, allocations: 72.45 kB / 467.6 MB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.4953, allocations: 36 kB / 467.6 MB, free: 132 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00495/0.5002, allocations: 2.069 MB / 469.7 MB, free: 14.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5002, allocations: 4 kB / 469.7 MB, free: 14.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005755/0.506, allocations: 0.8973 MB / 470.6 MB, free: 13.16 MB / 430.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.0007348/0.5067, allocations: 173.6 kB / 470.8 MB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007404/0.5141, allocations: 3.886 MB / 474.6 MB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5141, allocations: 0 / 474.6 MB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.5159, allocations: 1.037 MB / 475.7 MB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.5189, allocations: 341.4 kB / 476 MB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.5371, allocations: 7.317 MB / 483.3 MB, free: 388 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1761/0.7131, allocations: 2.238 MB / 485.6 MB, free: 142.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004494/0.7176, allocations: 1.617 MB / 487.2 MB, free: 142.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/0.7185, allocations: 198.1 kB / 487.4 MB, free: 142.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7185, allocations: 0 / 487.4 MB, free: 142.5 MB / 430.1 MB Notification: Performance of Templates: time 0.05136/0.7699, allocations: 25.97 MB / 0.5013 GB, free: 128.7 MB / 430.1 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: 6.246163673698902]