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.001414/0.001414, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001455/0.001455, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.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 0.001499/0.001499, allocations: 51.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2572, allocations: 53.37 MB / 431.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003618/0.2608, allocations: 2.444 MB / 433.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.2613, allocations: 247 kB / 433.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2615, allocations: 7.938 kB / 433.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2616, allocations: 43.58 kB / 433.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.2618, allocations: 87.27 kB / 434 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.2619, allocations: 51.94 kB / 434 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.2623, allocations: 294.6 kB / 434.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.2624, allocations: 66 kB / 434.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2626, allocations: 111.6 kB / 434.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.2627, allocations: 119.4 kB / 434.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.2628, allocations: 27.94 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.603e-05/0.2628, allocations: 28 kB / 434.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.2629, allocations: 51.81 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.263, allocations: 135.3 kB / 434.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.2633, allocations: 287.2 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2633, allocations: 3.938 kB / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2633, allocations: 0 / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2633, allocations: 0 / 435.1 MB, free: 2.855 MB / 334.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.0007529/0.2641, allocations: 485.5 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2641, allocations: 12.03 kB / 435.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.2642, allocations: 62.72 kB / 435.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.2643, allocations: 28.75 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2646, allocations: 178.9 kB / 435.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2646, allocations: 16.88 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.2646, allocations: 28.36 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.265, allocations: 247.1 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.265, allocations: 7.938 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.2651, allocations: 8 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.2651, allocations: 11.94 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.2654, allocations: 165.4 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2664, allocations: 0.7611 MB / 437.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.2669, allocations: 275.8 kB / 437.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.2671, allocations: 126.5 kB / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2672, allocations: 0 / 437.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2672, allocations: 42.5 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.322e-06/0.2672, allocations: 0 / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002497/0.2697, allocations: 1.51 MB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.2698, allocations: 110.8 kB / 439.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.2699, allocations: 187.8 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.27, allocations: 37.7 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.2701, allocations: 136.9 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2702, allocations: 174.5 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.2703, allocations: 70.14 kB / 439.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2704, allocations: 342.8 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.2706, allocations: 88.84 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2708, allocations: 154.5 kB / 440.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.2712, allocations: 286.4 kB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2712, allocations: 3.938 kB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005076/0.2717, allocations: 333.2 kB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2717, allocations: 19.86 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2717, allocations: 0 / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.2718, allocations: 4 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2721, allocations: 91.91 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2721, allocations: 4 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2722, allocations: 16.09 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2722, allocations: 8 kB / 441.1 MB, free: 12.47 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.0001617/0.2724, allocations: 161.6 kB / 441.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.2725, allocations: 31.75 kB / 441.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.2726, allocations: 33.81 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2726, allocations: 8 kB / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2726, allocations: 0 / 441.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2726, allocations: 3.984 kB / 441.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.274, allocations: 1.026 MB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.274, allocations: 4 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2744, allocations: 99.77 kB / 442.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.2744, allocations: 4 kB / 442.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.2744, allocations: 12 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2744, allocations: 4.469 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2744, allocations: 4 kB / 442.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.2752, allocations: 0.7327 MB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.2753, allocations: 31.73 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.2753, allocations: 12.06 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2755, allocations: 8 kB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.2756, allocations: 35.88 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2756, allocations: 20 kB / 443.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.2757, allocations: 136.5 kB / 443.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2757, allocations: 0 / 443.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.2761, allocations: 72 kB / 443.5 MB, free: 9.906 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.001081/0.2772, allocations: 1.277 MB / 444.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.2777, allocations: 252 kB / 445 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2777, allocations: 0 / 445 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.2779, allocations: 135.7 kB / 445.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.2786, allocations: 83.36 kB / 445.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.2825, allocations: 3.28 MB / 448.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.2829, allocations: 0.7723 MB / 449.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.2831, allocations: 38.94 kB / 449.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2832, allocations: 95.36 kB / 449.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2832, allocations: 0 / 449.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.3189, allocations: 6.316 MB / 455.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.67, allocations: 11.31 kB / 455.7 MB, free: 13.57 MB / 366.1 MB " [Timeout remaining time 648] (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/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_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: 14.082036973999493]