Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001946/0.001946, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002165/0.002165, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 377.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 53.37 MB / 431.1 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005144/0.2652, allocations: 3.374 MB / 434.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.2672, allocations: 0.9618 MB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.2674, allocations: 11.94 kB / 435.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.2678, allocations: 103.1 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.2682, allocations: 202.3 kB / 435.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.2685, allocations: 135.8 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008244/0.2693, allocations: 0.6769 MB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.2696, allocations: 130.9 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.2699, allocations: 270.9 kB / 436.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.2702, allocations: 290.8 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.2703, allocations: 60 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2704, allocations: 56 kB / 437.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2706, allocations: 135.5 kB / 437.5 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2708, allocations: 247 kB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.2716, allocations: 0.7128 MB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2716, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2716, allocations: 0 / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2716, allocations: 4 kB / 438.4 MB, free: 15.57 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00158/0.2732, allocations: 0.8255 MB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2732, allocations: 8.031 kB / 439.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.2734, allocations: 87.33 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2735, allocations: 64.56 kB / 439.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.2743, allocations: 381 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.2744, allocations: 114.3 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.2745, allocations: 36.38 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2755, allocations: 0.8656 MB / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2756, allocations: 0 / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.2756, allocations: 16 kB / 440.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2756, allocations: 11.98 kB / 440.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.2765, allocations: 334.4 kB / 441.1 MB, free: 12.61 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.2786, allocations: 1.021 MB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.2792, allocations: 278.4 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.2797, allocations: 164.8 kB / 442.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.2797, allocations: 8 kB / 442.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.2797, allocations: 38.56 kB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2797, allocations: 0 / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001617/0.2813, allocations: 0.5711 MB / 443.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/0.2816, allocations: 449 kB / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.2822, allocations: 457.9 kB / 444.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.2822, allocations: 33.7 kB / 444.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.2824, allocations: 252.6 kB / 444.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2825, allocations: 130.9 kB / 444.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2827, allocations: 81.59 kB / 444.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2829, allocations: 354.8 kB / 444.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.2833, allocations: 165.4 kB / 445.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.2841, allocations: 0.6895 MB / 445.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.2849, allocations: 333.2 kB / 446.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.2849, allocations: 0 / 446.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00108/0.286, allocations: 0.4998 MB / 446.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.286, allocations: 41.69 kB / 446.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.286, allocations: 0 / 446.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.2862, allocations: 45.7 kB / 446.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.2866, allocations: 83.88 kB / 446.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.2894, allocations: 2.758 MB / 449.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.2898, allocations: 47.81 kB / 449.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.2899, allocations: 12 kB / 449.6 MB, free: 3.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.2902, allocations: 177.8 kB / 449.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.2903, allocations: 59.66 kB / 449.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2904, allocations: 48.77 kB / 449.9 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2904, allocations: 4 kB / 449.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.2905, allocations: 3.938 kB / 449.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.2916, allocations: 0.7312 MB / 450.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.2933, allocations: 0.895 MB / 451.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2933, allocations: 3.938 kB / 451.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.2937, allocations: 95.88 kB / 451.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2937, allocations: 0 / 451.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.2938, allocations: 11.98 kB / 451.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2938, allocations: 0 / 451.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2938, allocations: 0 / 451.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2951, allocations: 0.6573 MB / 452.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.2953, allocations: 95.52 kB / 452.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.2954, allocations: 12 kB / 452.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.2957, allocations: 23.97 kB / 452.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.2958, allocations: 23.95 kB / 452.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2958, allocations: 12 kB / 452.4 MB, free: 476 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004084/0.2962, allocations: 323.1 kB / 452.7 MB, free: 156 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 0 / 452.7 MB, free: 156 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000462/0.2967, allocations: 139.9 kB / 452.9 MB, free: 16 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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.001662/0.2983, allocations: 1.205 MB / 454.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2996, allocations: 0.6545 MB / 454.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2996, allocations: 0 / 454.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.3, allocations: 171.8 kB / 454.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.3007, allocations: 140.5 kB / 455 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.3076, allocations: 4.63 MB / 459.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3079, allocations: 232.5 kB / 459.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.3081, allocations: 64.34 kB / 460 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3084, allocations: 179.4 kB / 460.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3084, allocations: 0 / 460.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05232/0.3607, allocations: 15.52 MB / 475.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.35, allocations: 8.062 kB / 475.7 MB, free: 9.367 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_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_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.882943169999635]