Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001423/0.001423, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 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.00154/0.00154, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.311/1.311, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 43.94 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2089, allocations: 53.37 MB / 431.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01086/0.2197, allocations: 10.27 MB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.2265, allocations: 3.845 MB / 446 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.2274, allocations: 71.69 kB / 446.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.2307, allocations: 1.974 MB / 448.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.2338, allocations: 1.673 MB / 449.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.235, allocations: 0.6121 MB / 450.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003781/0.2387, allocations: 3.361 MB / 453.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.2409, allocations: 2.119 MB / 455.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.2423, allocations: 1.254 MB / 457.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.2444, allocations: 1.806 MB / 458.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.2447, allocations: 259.9 kB / 459.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.2464, allocations: 1.061 MB / 460.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.2477, allocations: 1.601 MB / 461.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.2492, allocations: 1.817 MB / 463.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005611/0.2548, allocations: 5.809 MB / 469.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2548, allocations: 0 / 469.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2548, allocations: 0 / 469.5 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.999e-05/0.2549, allocations: 0 / 469.5 MB, free: 1.309 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.006442/0.2613, allocations: 4.044 MB / 473.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2614, allocations: 8.031 kB / 473.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.022e-05/0.2614, allocations: 85.16 kB / 473.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006231/0.2621, allocations: 0.6043 MB / 474.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.2679, allocations: 1.808 MB / 476 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.2716, allocations: 2.092 MB / 478.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2717, allocations: 196.8 kB / 478.3 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.2721, allocations: 251.8 kB / 478.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.2838, allocations: 8.45 MB / 487 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.318e-05/0.2839, allocations: 39.64 kB / 487 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2842, allocations: 119.9 kB / 487.1 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/0.2869, allocations: 1.699 MB / 488.8 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.2989, allocations: 7.114 MB / 496 MB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03723/0.3362, allocations: 33.98 MB / 0.5175 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.343, allocations: 2.729 MB / 0.5202 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.3449, allocations: 1.359 MB / 0.5215 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006292/0.3512, allocations: 3.692 MB / 0.5251 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.3512, allocations: 43.22 kB / 0.5251 GB, free: 11.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.126e-06/0.3512, allocations: 0 / 0.5251 GB, free: 11.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.1915/0.5427, allocations: 11.51 MB / 0.5364 GB, free: 102.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5427, allocations: 144.3 kB / 0.5365 GB, free: 102.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005289/0.548, allocations: 3.726 MB / 0.5402 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5482, allocations: 45.86 kB / 0.5402 GB, free: 101.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.5495, allocations: 2.861 MB / 0.543 GB, free: 100 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.55, allocations: 0.5469 MB / 0.5435 GB, free: 99.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.5513, allocations: 1.075 MB / 0.5446 GB, free: 99.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.5513, allocations: 302.5 kB / 0.5449 GB, free: 98.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.5531, allocations: 1.704 MB / 0.5465 GB, free: 98.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.5556, allocations: 5.121 MB / 0.5515 GB, free: 93.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/0.5602, allocations: 7.41 MB / 0.5588 GB, free: 86.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-05/0.5602, allocations: 36.34 kB / 0.5588 GB, free: 86.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007007/0.5672, allocations: 6.726 MB / 0.5654 GB, free: 81.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.5673, allocations: 60.17 kB / 0.5654 GB, free: 81.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.978e-05/0.5674, allocations: 124 kB / 0.5656 GB, free: 81.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.5678, allocations: 316.7 kB / 0.5659 GB, free: 81.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.5706, allocations: 1.241 MB / 0.5671 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.5723, allocations: 2.4 MB / 0.5694 GB, free: 77.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.575, allocations: 282.7 kB / 0.5697 GB, free: 76.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.5753, allocations: 332 kB / 0.57 GB, free: 76.67 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 (664): * Single equations (assignments): 660 * 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.001631/0.577, allocations: 1.792 MB / 0.5718 GB, free: 74.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.5773, allocations: 325.8 kB / 0.5721 GB, free: 74.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.5809, allocations: 2.359 MB / 0.5744 GB, free: 72.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.5809, allocations: 16 kB / 0.5744 GB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.5809, allocations: 4 kB / 0.5744 GB, free: 72.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5809, allocations: 3.984 kB / 0.5744 GB, free: 72.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/0.5887, allocations: 5.891 MB / 0.5801 GB, free: 66.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.5887, allocations: 0 / 0.5801 GB, free: 66.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.5894, allocations: 179.7 kB / 0.5803 GB, free: 66.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.5911, allocations: 0.7147 MB / 0.581 GB, free: 65.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.5912, allocations: 20 kB / 0.581 GB, free: 65.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004091/0.5953, allocations: 4.722 MB / 0.5856 GB, free: 60.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5953, allocations: 1.078 kB / 0.5856 GB, free: 60.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/0.6004, allocations: 4.35 MB / 0.5899 GB, free: 56.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.601, allocations: 305.6 kB / 0.5902 GB, free: 55.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/0.6013, allocations: 19.62 kB / 0.5902 GB, free: 55.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/0.6023, allocations: 71.84 kB / 0.5903 GB, free: 55.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.6024, allocations: 72.45 kB / 0.5903 GB, free: 55.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.6025, allocations: 36 kB / 0.5904 GB, free: 55.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002368/0.6049, allocations: 2.319 MB / 0.5926 GB, free: 53.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6049, allocations: 4 kB / 0.5926 GB, free: 53.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003276/0.6082, allocations: 0.7968 MB / 0.5934 GB, free: 52.55 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.005151/0.6133, allocations: 4.979 MB / 0.5983 GB, free: 47.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004377/0.6177, allocations: 3.899 MB / 0.6021 GB, free: 43.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6177, allocations: 0 / 0.6021 GB, free: 43.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.6187, allocations: 1.031 MB / 0.6031 GB, free: 42.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.6207, allocations: 392 kB / 0.6035 GB, free: 42.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/0.6534, allocations: 37.77 MB / 0.6404 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002996/0.6564, allocations: 2.776 MB / 0.6431 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003414/0.6598, allocations: 1.668 MB / 0.6447 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/0.6619, allocations: 1.519 MB / 0.6462 GB, free: 9.281 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6619, allocations: 0 / 0.6462 GB, free: 9.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/1.707, allocations: 62.29 MB / 0.707 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.29/25, allocations: 7.625 kB / 0.707 GB, free: 11.42 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 28.23579212796176]