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.001611/0.001611, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001946/0.001946, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.477/1.477, allocations: 230.4 MB / 254 MB, free: 15.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.001901/0.001901, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 53.37 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005368/0.1145, allocations: 3.695 MB / 430 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2095/0.324, allocations: 1.015 MB / 431.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.3245, allocations: 8.75 kB / 431.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.3249, allocations: 107.5 kB / 431.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3254, allocations: 204.9 kB / 431.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3257, allocations: 131.3 kB / 431.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007308/0.3264, allocations: 0.6763 MB / 432.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3266, allocations: 130.6 kB / 432.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.3269, allocations: 268.6 kB / 432.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.3272, allocations: 292.9 kB / 432.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.3273, allocations: 60.81 kB / 432.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-05/0.3274, allocations: 55.22 kB / 433 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3275, allocations: 129.5 kB / 433.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.3278, allocations: 306.3 kB / 433.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.3284, allocations: 0.7007 MB / 434.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3284, allocations: 2.062 kB / 434.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3284, allocations: 0.9375 kB / 434.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.3285, allocations: 0 / 434.1 MB, free: 7.098 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.001503/0.33, allocations: 0.9112 MB / 435 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.33, allocations: 10.19 kB / 435 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/0.3301, allocations: 76.48 kB / 435.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.3302, allocations: 71.23 kB / 435.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007006/0.3309, allocations: 437.7 kB / 435.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.331, allocations: 57.48 kB / 435.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.3311, allocations: 33.77 kB / 435.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008685/0.332, allocations: 0.4925 MB / 436.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.332, allocations: 1.031 kB / 436.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.332, allocations: 16.86 kB / 436.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.332, allocations: 8.25 kB / 436.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.3329, allocations: 337.8 kB / 436.5 MB, free: 5.934 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.002015/0.3349, allocations: 1.301 MB / 437.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/0.3356, allocations: 355.9 kB / 438.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.336, allocations: 166.9 kB / 438.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.3361, allocations: 10.41 kB / 438.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3361, allocations: 37.44 kB / 438.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.3361, allocations: 1 kB / 438.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001599/0.3377, allocations: 0.7275 MB / 439.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.3378, allocations: 447.3 kB / 439.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.3383, allocations: 464.5 kB / 440 MB, free: 3.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3384, allocations: 33.08 kB / 440 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3385, allocations: 243.8 kB / 440.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.3386, allocations: 129.2 kB / 440.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3387, allocations: 80.73 kB / 440.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3388, allocations: 360.4 kB / 440.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.3393, allocations: 146.1 kB / 441 MB, free: 3.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.3397, allocations: 283.1 kB / 441.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.3405, allocations: 331 kB / 441.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3405, allocations: 0 / 441.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001011/0.3415, allocations: 487.1 kB / 442 MB, free: 2.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.3416, allocations: 32.17 kB / 442.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3416, allocations: 1.062 kB / 442.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.3417, allocations: 54.12 kB / 442.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.3422, allocations: 81.38 kB / 442.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.3443, allocations: 2.97 MB / 445.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.3449, allocations: 55.5 kB / 445.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.3449, allocations: 13.02 kB / 445.2 MB, free: 15.4 MB / 366.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.0002536/0.3452, allocations: 172.2 kB / 445.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3453, allocations: 54.42 kB / 445.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.3454, allocations: 56.34 kB / 445.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3454, allocations: 6.312 kB / 445.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3454, allocations: 5.781 kB / 445.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.3465, allocations: 0.7251 MB / 446.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3483, allocations: 1.011 MB / 447.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3483, allocations: 0.875 kB / 447.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3487, allocations: 94.14 kB / 447.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3487, allocations: 6.25 kB / 447.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.3488, allocations: 5.906 kB / 447.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3488, allocations: 6.062 kB / 447.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3488, allocations: 0 / 447.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3501, allocations: 0.6521 MB / 448 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.3504, allocations: 171.6 kB / 448.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.3504, allocations: 12.94 kB / 448.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.3508, allocations: 26.05 kB / 448.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.3509, allocations: 22.75 kB / 448.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3509, allocations: 11.22 kB / 448.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004204/0.3514, allocations: 326.9 kB / 448.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3514, allocations: 0 / 448.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004934/0.3518, allocations: 136.6 kB / 448.7 MB, free: 13.25 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.001715/0.3536, allocations: 1.205 MB / 449.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3549, allocations: 0.624 MB / 450.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.3549, allocations: 1.188 kB / 450.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.3553, allocations: 162.4 kB / 450.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.3561, allocations: 153.6 kB / 450.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/0.3632, allocations: 4.521 MB / 455.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.3637, allocations: 0.8264 MB / 456.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003354/0.364, allocations: 66.48 kB / 456.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3643, allocations: 175.7 kB / 456.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3643, allocations: 0 / 456.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04865/0.4129, allocations: 13.76 MB / 470.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.92, allocations: 11.98 kB / 470.2 MB, free: 2.754 MB / 366.1 MB " [Timeout remaining time 647] (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.434859913075343]