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.001335/0.001335, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00156/0.00156, allocations: 215 kB / 21.45 MB, free: 1.617 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.375/1.375, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+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.001456/0.001456, allocations: 43.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.09038, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1723/0.2627, allocations: 10.25 MB / 437.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.2685, allocations: 3.811 MB / 441.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2695, allocations: 70.28 kB / 441.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.2726, allocations: 1.97 MB / 443.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.2759, allocations: 1.666 MB / 444.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.2772, allocations: 0.6137 MB / 445.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.2811, allocations: 3.353 MB / 448.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.2834, allocations: 2.197 MB / 450.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.2853, allocations: 1.256 MB / 452.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.2876, allocations: 1.816 MB / 454 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005071/0.2881, allocations: 254.1 kB / 454.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.29, allocations: 1.054 MB / 455.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.2915, allocations: 1.591 MB / 456.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.2934, allocations: 1.816 MB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.2999, allocations: 5.811 MB / 464.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2999, allocations: 5.188 kB / 464.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2999, allocations: 4 kB / 464.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001155/0.3, allocations: 0 / 464.5 MB, free: 8.02 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.007758/0.3078, allocations: 4.112 MB / 468.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3078, allocations: 10.19 kB / 468.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.429e-05/0.3079, allocations: 89.97 kB / 468.8 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007548/0.3086, allocations: 0.6044 MB / 469.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/0.3149, allocations: 1.806 MB / 471.2 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/0.3187, allocations: 2.167 MB / 473.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.3189, allocations: 188.9 kB / 473.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/0.3194, allocations: 255.8 kB / 473.8 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.3327, allocations: 8.447 MB / 482.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.324e-05/0.3328, allocations: 35.7 kB / 482.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/0.3332, allocations: 127.9 kB / 482.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.336, allocations: 1.703 MB / 484.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.3496, allocations: 7.105 MB / 491.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/0.3917, allocations: 34.07 MB / 0.5129 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.3994, allocations: 3.188 MB / 0.5161 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.4013, allocations: 1.362 MB / 0.5174 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00654/0.4079, allocations: 4.454 MB / 0.5217 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.4079, allocations: 47.05 kB / 0.5218 GB, free: 3.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 2.956e-06/0.4079, allocations: 4 kB / 0.5218 GB, free: 3.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02931/0.4372, allocations: 11.74 MB / 0.5332 GB, free: 7.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.4373, allocations: 149 kB / 0.5334 GB, free: 7.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/0.4426, allocations: 3.726 MB / 0.537 GB, free: 3.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.4428, allocations: 45.69 kB / 0.5371 GB, free: 3.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.445, allocations: 2.866 MB / 0.5399 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006302/0.4457, allocations: 0.5351 MB / 0.5404 GB, free: 12 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.4472, allocations: 1.084 MB / 0.5414 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4473, allocations: 305.1 kB / 0.5417 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.4499, allocations: 1.693 MB / 0.5434 GB, free: 12.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006341/0.4562, allocations: 5.127 MB / 0.5484 GB, free: 6.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009244/0.4655, allocations: 7.401 MB / 0.5556 GB, free: 12.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.94e-05/0.4656, allocations: 39.94 kB / 0.5557 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01187/0.4774, allocations: 6.726 MB / 0.5622 GB, free: 6.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/0.4775, allocations: 56 kB / 0.5623 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.4776, allocations: 124 kB / 0.5624 GB, free: 6.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.4783, allocations: 324 kB / 0.5627 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.4821, allocations: 1.24 MB / 0.5639 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.485, allocations: 2.493 MB / 0.5664 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/0.4887, allocations: 292.8 kB / 0.5666 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007452/0.4894, allocations: 332 kB / 0.567 GB, free: 1.207 MB / 478.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.003011/0.4924, allocations: 1.783 MB / 0.5687 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/0.4931, allocations: 333.7 kB / 0.569 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/0.4981, allocations: 2.367 MB / 0.5713 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.4981, allocations: 16 kB / 0.5713 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4981, allocations: 4 kB / 0.5713 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4981, allocations: 3.984 kB / 0.5713 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.5099, allocations: 5.906 MB / 0.5771 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5099, allocations: 0 / 0.5771 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/0.5108, allocations: 176.7 kB / 0.5773 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002289/0.5131, allocations: 0.7146 MB / 0.578 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.5132, allocations: 31.92 kB / 0.578 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/0.5196, allocations: 4.808 MB / 0.5827 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5196, allocations: 4.5 kB / 0.5827 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007318/0.527, allocations: 4.352 MB / 0.587 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009034/0.5279, allocations: 378.7 kB / 0.5873 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.5283, allocations: 20 kB / 0.5873 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5294, allocations: 67.97 kB / 0.5874 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.5296, allocations: 76.5 kB / 0.5875 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.5297, allocations: 28 kB / 0.5875 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003836/0.5335, allocations: 2.323 MB / 0.5898 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5335, allocations: 0 / 0.5898 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004277/0.5378, allocations: 0.8007 MB / 0.5906 GB, free: 8.766 MB / 0.4981 GB 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.007938/0.5457, allocations: 4.991 MB / 0.5954 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006869/0.5526, allocations: 3.894 MB / 0.5992 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5526, allocations: 0 / 0.5992 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.5543, allocations: 1.037 MB / 0.6002 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.5568, allocations: 380.4 kB / 0.6006 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/0.7758, allocations: 37.7 MB / 0.6374 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/0.7786, allocations: 2.782 MB / 0.6401 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003038/0.7816, allocations: 1.66 MB / 0.6418 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/0.7832, allocations: 1.518 MB / 0.6432 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/0.7832, allocations: 0 / 0.6432 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7413/1.525, allocations: 57.96 MB / 0.6998 GB, free: 94.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.12/22.64, allocations: 17.81 kB / 0.6999 GB, free: 94.13 MB / 0.5137 GB " [Timeout remaining time 637] (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: 26.146185964986216]