Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001559/0.001559, allocations: 114 kB / 20.43 MB, free: 1.457 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.00184/0.00184, allocations: 214 kB / 23.74 MB, free: 4.672 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.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 8.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.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 377.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2459, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005071/0.2509, allocations: 3.712 MB / 434.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.2527, allocations: 1.016 MB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.2529, allocations: 7.938 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.2532, allocations: 115 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.2536, allocations: 198.3 kB / 436.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2539, allocations: 139.7 kB / 436.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.2547, allocations: 0.6843 MB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.2549, allocations: 126.8 kB / 437.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.2552, allocations: 267.1 kB / 437.4 MB, free: 432 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.2556, allocations: 290.8 kB / 437.7 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.241e-05/0.2556, allocations: 56 kB / 437.8 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.2557, allocations: 60 kB / 437.8 MB, free: 24 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.2559, allocations: 131.6 kB / 438 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.2562, allocations: 306.6 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007373/0.2569, allocations: 0.7045 MB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2569, allocations: 0 / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2569, allocations: 4 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2569, allocations: 0 / 439 MB, free: 14.88 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.001573/0.2585, allocations: 0.8294 MB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2585, allocations: 12.03 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.2586, allocations: 79.33 kB / 439.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.2588, allocations: 64.56 kB / 439.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007378/0.2595, allocations: 377 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2596, allocations: 110.3 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2597, allocations: 40.38 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.2605, allocations: 492.8 kB / 440.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2606, allocations: 0 / 440.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2606, allocations: 16 kB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2606, allocations: 8 kB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2614, allocations: 342.4 kB / 441.3 MB, free: 12.4 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.002073/0.2635, allocations: 1.268 MB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.2641, allocations: 284.7 kB / 442.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.2645, allocations: 164.8 kB / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.2646, allocations: 8 kB / 443 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.2646, allocations: 42.56 kB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.2646, allocations: 0 / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001524/0.2661, allocations: 0.5788 MB / 443.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002575/0.2664, allocations: 441 kB / 444.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2669, allocations: 465.9 kB / 444.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.267, allocations: 33.7 kB / 444.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.2672, allocations: 240.6 kB / 444.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2673, allocations: 134.9 kB / 444.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.2674, allocations: 77.69 kB / 445 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2676, allocations: 350.8 kB / 445.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2679, allocations: 143.7 kB / 445.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.2684, allocations: 286.8 kB / 445.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.2692, allocations: 337.2 kB / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2692, allocations: 0 / 446.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009874/0.2702, allocations: 490 kB / 446.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.2702, allocations: 33.7 kB / 446.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2702, allocations: 0 / 446.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.2704, allocations: 53.62 kB / 446.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.2708, allocations: 83.94 kB / 446.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.2733, allocations: 2.758 MB / 449.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.2737, allocations: 51.81 kB / 449.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.2737, allocations: 12 kB / 449.6 MB, free: 3.562 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.0002278/0.2739, allocations: 174.4 kB / 449.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.274, allocations: 55.7 kB / 449.8 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.615e-05/0.2741, allocations: 48.77 kB / 449.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2741, allocations: 4 kB / 449.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2741, allocations: 7.938 kB / 449.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009842/0.2751, allocations: 0.7309 MB / 450.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.2768, allocations: 0.9814 MB / 451.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2768, allocations: 11.88 kB / 451.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.2772, allocations: 83.88 kB / 451.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2772, allocations: 4 kB / 451.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2772, allocations: 8 kB / 451.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2772, allocations: 4 kB / 451.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2772, allocations: 3.938 kB / 451.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2785, allocations: 0.6447 MB / 452.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.2787, allocations: 103.6 kB / 452.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.2788, allocations: 8 kB / 452.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.2791, allocations: 31.91 kB / 452.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.2792, allocations: 23.95 kB / 452.5 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2792, allocations: 11.98 kB / 452.5 MB, free: 460 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.2796, allocations: 323.1 kB / 452.8 MB, free: 136 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2796, allocations: 0 / 452.8 MB, free: 136 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.2801, allocations: 139.9 kB / 452.9 MB, free: 15.99 MB / 366.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.001692/0.2817, allocations: 1.216 MB / 454.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.283, allocations: 0.6138 MB / 454.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.283, allocations: 8.125 kB / 454.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.2834, allocations: 163.8 kB / 454.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.284, allocations: 141.8 kB / 455.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/0.2908, allocations: 4.52 MB / 459.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.2912, allocations: 0.8353 MB / 460.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.2915, allocations: 60.3 kB / 460.5 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.2918, allocations: 183.4 kB / 460.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2918, allocations: 0 / 460.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06609/0.3579, allocations: 13.98 MB / 474.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.5, allocations: 10.91 kB / 474.6 MB, free: 10.33 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.992807136997726]