Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001741/0.001741, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002031/0.002031, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2766, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006256/0.2828, allocations: 4.618 MB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2857, allocations: 1.422 MB / 437.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.2861, allocations: 39.69 kB / 437.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.2865, allocations: 178.2 kB / 437.4 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.2868, allocations: 162.3 kB / 437.6 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.2876, allocations: 383.3 kB / 438 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.2886, allocations: 0.9782 MB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.2891, allocations: 287.4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.2896, allocations: 350.6 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.29, allocations: 342 kB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.2901, allocations: 72 kB / 440 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2903, allocations: 116 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2905, allocations: 187.2 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.2908, allocations: 425.5 kB / 440.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.292, allocations: 1.113 MB / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.292, allocations: 4 kB / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.292, allocations: 0 / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.292, allocations: 0 / 441.8 MB, free: 12.04 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001608/0.2936, allocations: 1.097 MB / 442.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.2937, allocations: 15.97 kB / 442.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.2938, allocations: 122.9 kB / 443 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.2941, allocations: 119.3 kB / 443.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.2952, allocations: 0.5628 MB / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.2953, allocations: 58 kB / 443.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2954, allocations: 83.95 kB / 443.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.2969, allocations: 0.8442 MB / 444.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.2969, allocations: 11.94 kB / 444.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.297, allocations: 36 kB / 444.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.297, allocations: 24 kB / 444.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.2979, allocations: 467.3 kB / 445.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.3023, allocations: 4.334 MB / 449.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.3029, allocations: 280.1 kB / 449.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.3032, allocations: 133.6 kB / 450 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.3033, allocations: 12.36 kB / 450 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3034, allocations: 46.88 kB / 450 MB, free: 3.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 5.72e-06/0.3034, allocations: 3.984 kB / 450 MB, free: 3.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003355/0.3067, allocations: 1.598 MB / 451.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3068, allocations: 63.84 kB / 451.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.3074, allocations: 0.5393 MB / 452.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3074, allocations: 33.7 kB / 452.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.3078, allocations: 491.8 kB / 452.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.308, allocations: 222.1 kB / 452.9 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.3081, allocations: 142.6 kB / 453.1 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3084, allocations: 378.8 kB / 453.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3086, allocations: 161.9 kB / 453.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.3092, allocations: 455.2 kB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.31, allocations: 0.6712 MB / 454.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.31, allocations: 0 / 454.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001165/0.3112, allocations: 0.7422 MB / 455.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3112, allocations: 10.5 kB / 455.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3112, allocations: 8 kB / 455.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000187/0.3114, allocations: 44.84 kB / 455.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.312, allocations: 180.3 kB / 455.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3135, allocations: 1.589 MB / 457.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3138, allocations: 28 kB / 457.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.3138, allocations: 32 kB / 457.4 MB, free: 11.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * 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.0003392/0.3141, allocations: 237.5 kB / 457.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3142, allocations: 83.41 kB / 457.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3144, allocations: 71.08 kB / 457.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3144, allocations: 4 kB / 457.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3144, allocations: 4 kB / 457.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3144, allocations: 8.047 kB / 457.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.3164, allocations: 1.374 MB / 459.1 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.3164, allocations: 4 kB / 459.1 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.3169, allocations: 119.8 kB / 459.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.586e-05/0.3169, allocations: 24.84 kB / 459.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.317, allocations: 12.39 kB / 459.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.3179, allocations: 1.283 MB / 460.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3179, allocations: 7.938 kB / 460.6 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.319, allocations: 0.7764 MB / 461.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.3191, allocations: 71.53 kB / 461.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.3192, allocations: 19.98 kB / 461.4 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3194, allocations: 12 kB / 461.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3194, allocations: 47.89 kB / 461.5 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.3195, allocations: 20 kB / 461.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.3199, allocations: 355.1 kB / 461.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3199, allocations: 0 / 461.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.3205, allocations: 144 kB / 462 MB, free: 6.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.3219, allocations: 1.339 MB / 463.3 MB, free: 5.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009863/0.3229, allocations: 0.5686 MB / 463.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3229, allocations: 4 kB / 463.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.3233, allocations: 302.4 kB / 464.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006147/0.3239, allocations: 100.3 kB / 464.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/0.332, allocations: 6.072 MB / 470.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.3326, allocations: 0.9691 MB / 471.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.3328, allocations: 94 kB / 471.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.3332, allocations: 323.3 kB / 471.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3332, allocations: 0 / 471.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0466/0.3798, allocations: 12.48 MB / 484.2 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.59, allocations: 11.12 kB / 484.3 MB, free: 16 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass2b.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.20045156499691]