Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.001835/0.001835, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002164/0.002164, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.461/1.461, 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.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09987, allocations: 53.37 MB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003826/0.1037, allocations: 2.453 MB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.1044, allocations: 243 kB / 429 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1045, allocations: 11.94 kB / 429 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1047, allocations: 43.58 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.1048, allocations: 83.27 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.105, allocations: 51.92 kB / 429.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.1054, allocations: 294.6 kB / 429.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1056, allocations: 73.72 kB / 429.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1058, allocations: 115.6 kB / 429.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.106, allocations: 115.5 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.106, allocations: 24 kB / 429.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.944e-05/0.1061, allocations: 24 kB / 429.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.1061, allocations: 47.84 kB / 429.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.1063, allocations: 139.3 kB / 430 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1066, allocations: 290.7 kB / 430.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1067, allocations: 0 / 430.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1067, allocations: 0 / 430.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1067, allocations: 0 / 430.3 MB, free: 0.6367 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008302/0.1075, allocations: 0.5533 MB / 430.9 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1075, allocations: 12.03 kB / 430.9 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.196/0.3035, allocations: 55.91 kB / 430.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.611e-05/0.3036, allocations: 30.09 kB / 431 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.304, allocations: 247.2 kB / 431.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.304, allocations: 16.5 kB / 431.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.3041, allocations: 26.84 kB / 431.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.3046, allocations: 242.9 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.3046, allocations: 12.45 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3046, allocations: 9.625 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.3046, allocations: 6.922 kB / 431.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.305, allocations: 159.3 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3062, allocations: 0.7937 MB / 432.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.3068, allocations: 276 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3071, allocations: 122.8 kB / 432.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3071, allocations: 6.062 kB / 432.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3071, allocations: 38.78 kB / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.3071, allocations: 0 / 432.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002792/0.3099, allocations: 1.961 MB / 434.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3099, allocations: 108 kB / 435 MB, free: 8.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3101, allocations: 187.1 kB / 435.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3102, allocations: 34.17 kB / 435.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.3103, allocations: 142.4 kB / 435.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.3103, allocations: 171.4 kB / 435.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.3104, allocations: 74.12 kB / 435.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.3105, allocations: 338.7 kB / 435.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3107, allocations: 97.11 kB / 436 MB, free: 7.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.3108, allocations: 151 kB / 436.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.3112, allocations: 271.3 kB / 436.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3112, allocations: 1.656 kB / 436.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004887/0.3117, allocations: 353 kB / 436.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3117, allocations: 10.36 kB / 436.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3117, allocations: 3.344 kB / 436.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3117, allocations: 2.969 kB / 436.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.3121, allocations: 102.7 kB / 436.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3121, allocations: 3.359 kB / 436.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3122, allocations: 11.78 kB / 436.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.3122, allocations: 14.56 kB / 436.9 MB, free: 7.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.3123, allocations: 150.5 kB / 437 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.3124, allocations: 30.97 kB / 437.1 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.3125, allocations: 36.58 kB / 437.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3125, allocations: 5.594 kB / 437.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3125, allocations: 1.703 kB / 437.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3125, allocations: 2.109 kB / 437.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3138, allocations: 1.057 MB / 438.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3138, allocations: 2.75 kB / 438.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.3142, allocations: 87.75 kB / 438.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3142, allocations: 5.25 kB / 438.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3142, allocations: 14.56 kB / 438.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.3142, allocations: 11.31 kB / 438.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3142, allocations: 6.562 kB / 438.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.3149, allocations: 0.7194 MB / 439 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.315, allocations: 105 kB / 439.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.315, allocations: 15.11 kB / 439.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3152, allocations: 7.5 kB / 439.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.3153, allocations: 40.8 kB / 439.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.3153, allocations: 18.41 kB / 439.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3154, allocations: 140.6 kB / 439.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3154, allocations: 0 / 439.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000403/0.3158, allocations: 71.41 kB / 439.4 MB, free: 5.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000798/0.3166, allocations: 1.27 MB / 440.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.317, allocations: 256.2 kB / 440.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.317, allocations: 0 / 440.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3172, allocations: 133.3 kB / 441.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.3179, allocations: 75.64 kB / 441.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.3215, allocations: 3.299 MB / 444.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3217, allocations: 0.7682 MB / 445.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.3219, allocations: 34.95 kB / 445.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.322, allocations: 91.28 kB / 445.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.322, allocations: 3.938 kB / 445.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.3528, allocations: 5.965 MB / 451.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.671, allocations: 16.75 kB / 451.3 MB, free: 0.6562 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_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_Damper.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable springDamper3.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.124135455000214]