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.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.001759/0.001759, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 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.002017/0.002017, allocations: 190 kB / 22.93 MB, free: 5.582 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.467/1.467, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 55.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 49.12 MB / 394.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009726/0.2706, allocations: 10.31 MB / 404.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007541/0.2781, allocations: 3.836 MB / 408.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.2798, allocations: 57.19 kB / 408.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.2837, allocations: 1.987 MB / 410.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.2876, allocations: 1.696 MB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.289, allocations: 0.612 MB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004486/0.2935, allocations: 3.334 MB / 416.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.296, allocations: 1.93 MB / 418.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.298, allocations: 1.25 MB / 419.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.3004, allocations: 1.821 MB / 421.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005506/0.3009, allocations: 254 kB / 421.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.3035, allocations: 1.062 MB / 422.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.3052, allocations: 1.616 MB / 424.3 MB, free: 6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.3072, allocations: 1.833 MB / 426.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.3144, allocations: 5.845 MB / 432 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3144, allocations: 0 / 432 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3144, allocations: 3.938 kB / 432 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.3146, allocations: 0 / 432 MB, free: 14.29 MB / 350.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.007644/0.3222, allocations: 4.129 MB / 436.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.3222, allocations: 11.89 kB / 436.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006014/0.3283, allocations: 1.796 MB / 437.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.3325, allocations: 2.01 MB / 439.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.3326, allocations: 192.8 kB / 440.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/0.3332, allocations: 251.8 kB / 440.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.3487, allocations: 8.427 MB / 448.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3488, allocations: 43.64 kB / 448.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/0.3492, allocations: 123.9 kB / 448.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.352, allocations: 1.699 MB / 450.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.3663, allocations: 7.098 MB / 457.7 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04604/0.4123, allocations: 34.08 MB / 491.8 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007947/0.4203, allocations: 3.189 MB / 495 MB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.4225, allocations: 1.361 MB / 496.4 MB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007916/0.4304, allocations: 4.359 MB / 0.489 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.4304, allocations: 47.06 kB / 0.489 GB, free: 7.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 6.061e-06/0.4305, allocations: 3.984 kB / 0.489 GB, free: 7.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02938/0.4598, allocations: 11.71 MB / 0.5005 GB, free: 11.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.4599, allocations: 145.2 kB / 0.5006 GB, free: 11.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.4656, allocations: 3.742 MB / 0.5043 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.4658, allocations: 41.7 kB / 0.5043 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.4681, allocations: 2.866 MB / 0.5071 GB, free: 4.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007531/0.4689, allocations: 0.5389 MB / 0.5076 GB, free: 4.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.4704, allocations: 1.092 MB / 0.5087 GB, free: 2.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4705, allocations: 305.1 kB / 0.509 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.4731, allocations: 1.705 MB / 0.5107 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00544/0.4785, allocations: 5.131 MB / 0.5157 GB, free: 10.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009523/0.488, allocations: 7.412 MB / 0.5229 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.4882, allocations: 36 kB / 0.5229 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0135/0.5017, allocations: 6.736 MB / 0.5295 GB, free: 10.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.627e-05/0.5018, allocations: 60 kB / 0.5296 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/0.5019, allocations: 120.2 kB / 0.5297 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.5025, allocations: 325.3 kB / 0.53 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.5066, allocations: 1.244 MB / 0.5312 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.5096, allocations: 2.5 MB / 0.5337 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/0.5133, allocations: 291.7 kB / 0.5339 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/0.5139, allocations: 332 kB / 0.5342 GB, free: 5.188 MB / 462.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.002928/0.5168, allocations: 1.795 MB / 0.536 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.5175, allocations: 329.7 kB / 0.5363 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00476/0.5222, allocations: 2.355 MB / 0.5386 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.5223, allocations: 16 kB / 0.5386 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5223, allocations: 0 / 0.5386 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.5223, allocations: 7.984 kB / 0.5386 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.5342, allocations: 5.921 MB / 0.5444 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.5343, allocations: 0 / 0.5444 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.5351, allocations: 171.8 kB / 0.5446 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.5372, allocations: 0.7147 MB / 0.5453 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.5373, allocations: 20 kB / 0.5453 GB, free: 9.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006304/0.5437, allocations: 4.829 MB / 0.55 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5437, allocations: 3.938 kB / 0.55 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007028/0.5507, allocations: 4.335 MB / 0.5543 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2366/0.7873, allocations: 0.5352 MB / 0.5548 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009718/0.7883, allocations: 22.7 kB / 0.5548 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.7895, allocations: 64.95 kB / 0.5549 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.7898, allocations: 69.72 kB / 0.5549 GB, free: 144.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.7899, allocations: 34.95 kB / 0.555 GB, free: 144.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004755/0.7947, allocations: 2.332 MB / 0.5572 GB, free: 143.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7947, allocations: 0 / 0.5572 GB, free: 143.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005059/0.7997, allocations: 0.8199 MB / 0.558 GB, free: 143.7 MB / 478.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.0004425/0.8002, allocations: 155.6 kB / 0.5582 GB, free: 143.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006933/0.8071, allocations: 3.892 MB / 0.562 GB, free: 142.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8071, allocations: 1.438 kB / 0.562 GB, free: 142.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.8088, allocations: 1.034 MB / 0.563 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/0.8118, allocations: 390.9 kB / 0.5634 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.8262, allocations: 7.458 MB / 0.5707 GB, free: 138.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.8291, allocations: 2.792 MB / 0.5734 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00338/0.8325, allocations: 1.656 MB / 0.575 GB, free: 137.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.8331, allocations: 210.8 kB / 0.5752 GB, free: 137.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.8331, allocations: 1.859 kB / 0.5752 GB, free: 137.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04786/0.8809, allocations: 29.7 MB / 0.6042 GB, free: 114.1 MB / 478.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.3677884247154]