Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.0008935/0.0008935, allocations: 83.69 kB / 20.67 MB, free: 3.883 MB / 18.57 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.001447/0.001447, allocations: 174 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8758/0.8758, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 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.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.279e-05, allocations: 4.953 kB / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00291/0.002933, allocations: 2.293 MB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004744/0.003407, allocations: 231.1 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003519, allocations: 7.938 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.003653, allocations: 47.56 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.003792, allocations: 83.22 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.003957, allocations: 63.89 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.004225, allocations: 306.3 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.004402, allocations: 70.05 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.004559, allocations: 163.6 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004684, allocations: 95.69 kB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.004723, allocations: 20 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.004754, allocations: 24 kB / 327.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.004794, allocations: 55.77 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.004871, allocations: 87.83 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.005151, allocations: 299 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.005154, allocations: 0 / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.005156, allocations: 0 / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.005161, allocations: 0 / 328.4 MB, free: 12.01 MB / 298.7 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.0006033/0.005764, allocations: 484.8 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.005804, allocations: 8.031 kB / 328.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.005858, allocations: 62.72 kB / 328.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.005906, allocations: 32.75 kB / 328.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.006193, allocations: 182 kB / 329.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.006216, allocations: 20.88 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.006257, allocations: 24.38 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.006584, allocations: 239.1 kB / 329.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.006602, allocations: 8.188 kB / 329.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.006621, allocations: 4.375 kB / 329.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.00663, allocations: 16.12 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.006858, allocations: 156.9 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.007673, allocations: 0.7105 MB / 330.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.0081, allocations: 287.6 kB / 330.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.008292, allocations: 122.5 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.008309, allocations: 4 kB / 330.7 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.008332, allocations: 42.5 kB / 330.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.008335, allocations: 4 kB / 330.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001898/0.01023, allocations: 1.503 MB / 332.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.01029, allocations: 110.8 kB / 332.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.01044, allocations: 194.9 kB / 332.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01046, allocations: 37.7 kB / 332.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.01054, allocations: 140.8 kB / 332.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.01063, allocations: 162.6 kB / 332.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.01072, allocations: 78.14 kB / 332.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.01082, allocations: 338.8 kB / 333.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01096, allocations: 92.95 kB / 333.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.01112, allocations: 155 kB / 333.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01145, allocations: 278.6 kB / 333.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01145, allocations: 4 kB / 333.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004266/0.01188, allocations: 349 kB / 334.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.01189, allocations: 8 kB / 334.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.0119, allocations: 0 / 334.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01192, allocations: 7.938 kB / 334.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.01217, allocations: 99.83 kB / 334.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.01218, allocations: 4 kB / 334.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.204e-05/0.01226, allocations: 12 kB / 334.3 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01228, allocations: 12 kB / 334.3 MB, free: 5.664 MB / 298.7 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.0001118/0.01239, allocations: 153.8 kB / 334.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.01246, allocations: 27.86 kB / 334.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.01252, allocations: 37.8 kB / 334.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.01252, allocations: 11.94 kB / 334.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01253, allocations: 0 / 334.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.393e-06/0.01253, allocations: 4 kB / 334.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.01364, allocations: 0.9833 MB / 335.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.01364, allocations: 4 kB / 335.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.01385, allocations: 91.89 kB / 335.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01386, allocations: 4 kB / 335.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.01387, allocations: 8 kB / 335.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.01388, allocations: 11.88 kB / 335.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01388, allocations: 4 kB / 335.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.01438, allocations: 0.7298 MB / 336.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.0144, allocations: 23.81 kB / 336.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.01443, allocations: 20 kB / 336.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01454, allocations: 8 kB / 336.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.01457, allocations: 35.88 kB / 336.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.01459, allocations: 16 kB / 336.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.431e-05/0.01466, allocations: 140.2 kB / 336.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01466, allocations: 0 / 336.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.01493, allocations: 72 kB / 336.6 MB, free: 3.152 MB / 298.7 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.0006694/0.0156, allocations: 1.263 MB / 337.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.01589, allocations: 249.4 kB / 338.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0159, allocations: 0 / 338.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01601, allocations: 143.6 kB / 338.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.01645, allocations: 68.92 kB / 338.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.01884, allocations: 3.156 MB / 341.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.01895, allocations: 159.8 kB / 341.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.988e-05/0.01904, allocations: 38.95 kB / 341.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.01914, allocations: 92.47 kB / 341.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01914, allocations: 0 / 341.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.04038, allocations: 6.819 MB / 348.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.076, allocations: 4.938 kB / 348.6 MB, free: 7.086 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.793175884522498]