Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002066/0.002066, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 55.91 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1121, allocations: 53.38 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2099/0.322, allocations: 10.23 MB / 436.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008391/0.3304, allocations: 3.825 MB / 440.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.3329, allocations: 65.75 kB / 440.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.3379, allocations: 1.964 MB / 442.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005608/0.3435, allocations: 1.671 MB / 444.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3457, allocations: 0.6091 MB / 444.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.3515, allocations: 3.361 MB / 448.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.3554, allocations: 2.193 MB / 450.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003337/0.3587, allocations: 1.261 MB / 451.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.3627, allocations: 1.806 MB / 453.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.3639, allocations: 253.5 kB / 453.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.3671, allocations: 1.055 MB / 454.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002695/0.3698, allocations: 1.596 MB / 456.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003945/0.3738, allocations: 1.817 MB / 458.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3845, allocations: 5.811 MB / 463.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3845, allocations: 4 kB / 463.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3845, allocations: 0 / 463.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002968/0.3848, allocations: 0 / 463.9 MB, free: 7.789 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.01434/0.3992, allocations: 4.115 MB / 468 MB, free: 4.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.3992, allocations: 11.75 kB / 468 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002793/0.402, allocations: 0.6077 MB / 468.6 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008333/0.4104, allocations: 1.799 MB / 470.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005804/0.4162, allocations: 2.178 MB / 472.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.4164, allocations: 189.3 kB / 472.8 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.4175, allocations: 247.9 kB / 473 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.4367, allocations: 8.447 MB / 481.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.4368, allocations: 43.62 kB / 481.5 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006193/0.4374, allocations: 119.9 kB / 481.6 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.4408, allocations: 1.703 MB / 483.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.4565, allocations: 7.102 MB / 490.4 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.5026, allocations: 34.08 MB / 0.5122 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008128/0.5108, allocations: 3.183 MB / 0.5153 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.5129, allocations: 1.361 MB / 0.5167 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007643/0.5205, allocations: 4.45 MB / 0.521 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.5206, allocations: 53.62 kB / 0.5211 GB, free: 3.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.957e-06/0.5206, allocations: 0 / 0.5211 GB, free: 3.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03237/0.5529, allocations: 11.74 MB / 0.5325 GB, free: 7.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5531, allocations: 137.2 kB / 0.5327 GB, free: 7.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006254/0.5593, allocations: 3.734 MB / 0.5363 GB, free: 3.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.5596, allocations: 45.7 kB / 0.5363 GB, free: 3.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.5622, allocations: 2.854 MB / 0.5391 GB, free: 412 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/0.563, allocations: 0.5429 MB / 0.5397 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/0.5648, allocations: 1.076 MB / 0.5407 GB, free: 14.77 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5649, allocations: 309 kB / 0.541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.5678, allocations: 1.701 MB / 0.5427 GB, free: 12.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/0.574, allocations: 5.123 MB / 0.5477 GB, free: 5.906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/0.5835, allocations: 7.409 MB / 0.5549 GB, free: 12.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/0.5836, allocations: 36 kB / 0.5549 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01382/0.5975, allocations: 6.727 MB / 0.5615 GB, free: 6.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5976, allocations: 56 kB / 0.5616 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/0.5977, allocations: 127.9 kB / 0.5617 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.5985, allocations: 317.2 kB / 0.562 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004412/0.6029, allocations: 1.244 MB / 0.5632 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/0.606, allocations: 2.493 MB / 0.5656 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/0.6103, allocations: 295.7 kB / 0.5659 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.6113, allocations: 333 kB / 0.5662 GB, free: 1.043 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.003695/0.615, allocations: 1.775 MB / 0.568 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007678/0.6158, allocations: 329.7 kB / 0.5683 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/0.6213, allocations: 2.363 MB / 0.5706 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.6214, allocations: 16 kB / 0.5706 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.6214, allocations: 4 kB / 0.5706 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.6214, allocations: 7.969 kB / 0.5706 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.635, allocations: 5.91 MB / 0.5764 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.6351, allocations: 0 / 0.5764 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/0.636, allocations: 180.7 kB / 0.5766 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.6383, allocations: 0.7069 MB / 0.5772 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.6385, allocations: 27.14 kB / 0.5773 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006836/0.6454, allocations: 4.816 MB / 0.582 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.6454, allocations: 9.109 kB / 0.582 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007586/0.653, allocations: 4.347 MB / 0.5862 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/0.654, allocations: 374.8 kB / 0.5866 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004881/0.6544, allocations: 27.94 kB / 0.5866 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6556, allocations: 67.97 kB / 0.5867 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/0.6559, allocations: 68.5 kB / 0.5867 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.656, allocations: 39.94 kB / 0.5868 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003945/0.6599, allocations: 2.319 MB / 0.589 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6599, allocations: 0 / 0.589 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004747/0.6647, allocations: 0.8084 MB / 0.5898 GB, free: 8.59 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.008319/0.673, allocations: 4.986 MB / 0.5947 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006992/0.68, allocations: 3.882 MB / 0.5985 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.68, allocations: 4.5 kB / 0.5985 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.6818, allocations: 1.037 MB / 0.5995 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.6845, allocations: 388.8 kB / 0.5999 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/0.9536, allocations: 37.69 MB / 0.6367 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005333/0.959, allocations: 2.785 MB / 0.6394 GB, free: 146.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004338/0.9633, allocations: 1.659 MB / 0.641 GB, free: 146.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002681/0.966, allocations: 1.519 MB / 0.6425 GB, free: 145 MB / 0.5137 GB Notification: Performance of SimCode: time 1.904e-06/0.966, allocations: 1.188 kB / 0.6425 GB, free: 145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09743/1.063, allocations: 57.92 MB / 0.6991 GB, free: 95.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/24.21, allocations: 0 / 0.6991 GB, free: 95.39 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv","/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_trunk_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: 27.04335239995271]