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.001806/0.001806, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002239/0.002239, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001569/0.001569, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003532/0.2635, allocations: 2.273 MB / 433.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005146/0.2641, allocations: 243.1 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2642, allocations: 4 kB / 433.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.2643, allocations: 47.56 kB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.2645, allocations: 91.16 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.2647, allocations: 55.92 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.265, allocations: 286.6 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.2652, allocations: 77.92 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.2653, allocations: 111.6 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.2655, allocations: 115.5 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.2655, allocations: 24 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.2656, allocations: 24 kB / 434.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.2656, allocations: 55.78 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2657, allocations: 111.5 kB / 434.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.2661, allocations: 292.5 kB / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2661, allocations: 0 / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2661, allocations: 0 / 434.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2661, allocations: 0 / 434.8 MB, free: 2.836 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.0008211/0.2669, allocations: 489.5 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.267, allocations: 12.03 kB / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.812e-05/0.267, allocations: 62.67 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.2671, allocations: 28.75 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.2675, allocations: 186.8 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2675, allocations: 16.88 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.2675, allocations: 24.38 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.2679, allocations: 243.1 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.268, allocations: 7.938 kB / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.268, allocations: 12 kB / 435.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.268, allocations: 4 kB / 435.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.2683, allocations: 161.5 kB / 436.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2693, allocations: 0.7104 MB / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.2698, allocations: 279.7 kB / 437 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.2701, allocations: 118.5 kB / 437.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.2701, allocations: 8 kB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.2701, allocations: 42.5 kB / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.2701, allocations: 0 / 437.2 MB, free: 292 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002525/0.2727, allocations: 1.504 MB / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.2727, allocations: 115 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.2729, allocations: 191.8 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.273, allocations: 33.7 kB / 439.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2731, allocations: 144.8 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2732, allocations: 166.6 kB / 439.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2733, allocations: 74.09 kB / 439.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2735, allocations: 338.8 kB / 439.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2736, allocations: 92.78 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2738, allocations: 158.2 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.2743, allocations: 287.2 kB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2743, allocations: 0 / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005252/0.2748, allocations: 333.2 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2748, allocations: 7.938 kB / 440.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2748, allocations: 4 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2748, allocations: 4 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.2752, allocations: 99.83 kB / 440.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2752, allocations: 4 kB / 440.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2753, allocations: 12.09 kB / 440.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2753, allocations: 23.94 kB / 440.8 MB, free: 12.48 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.0001627/0.2755, allocations: 153.7 kB / 440.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.2756, allocations: 35.78 kB / 440.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.2757, allocations: 33.81 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2757, allocations: 4.938 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2757, allocations: 0 / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2757, allocations: 7.984 kB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.2772, allocations: 0.9786 MB / 442 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.2772, allocations: 8.078 kB / 442 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.2776, allocations: 91.78 kB / 442.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.2776, allocations: 11.97 kB / 442.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2776, allocations: 12 kB / 442.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2776, allocations: 7.984 kB / 442.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2776, allocations: 4.281 kB / 442.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.2785, allocations: 0.7248 MB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.2786, allocations: 43.73 kB / 442.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.2786, allocations: 8 kB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2788, allocations: 12 kB / 442.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.2789, allocations: 35.83 kB / 442.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.2789, allocations: 16 kB / 442.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.279, allocations: 136.5 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.279, allocations: 0 / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.2794, allocations: 72 kB / 443.1 MB, free: 9.969 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.001094/0.2805, allocations: 1.267 MB / 444.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.281, allocations: 258.1 kB / 444.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.281, allocations: 4 kB / 444.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2812, allocations: 132.4 kB / 444.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.282, allocations: 72.34 kB / 444.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.2859, allocations: 3.282 MB / 448.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2861, allocations: 159.8 kB / 448.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.2862, allocations: 34.95 kB / 448.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2864, allocations: 95.34 kB / 448.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2864, allocations: 0 / 448.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.3232, allocations: 6.797 MB / 455.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.56, allocations: 15.56 kB / 455.2 MB, free: 13.8 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.066740187990945]