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.001027/0.001027, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001133/0.001133, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8985/0.8985, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.873e-06/1.873e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.374e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003887/0.003911, allocations: 3.379 MB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.00509, allocations: 0.9656 MB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.005243, allocations: 11.94 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.0055, allocations: 111.1 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.005784, allocations: 202.2 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.005992, allocations: 139.7 kB / 329.3 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.006497, allocations: 0.7117 MB / 330 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.006681, allocations: 126.8 kB / 330.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.006964, allocations: 391.1 kB / 330.5 MB, free: 9.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.007168, allocations: 223.4 kB / 330.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.007225, allocations: 56 kB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.007278, allocations: 60 kB / 330.8 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.007352, allocations: 119.6 kB / 331 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.007494, allocations: 219.5 kB / 331.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.007963, allocations: 0.7126 MB / 331.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.007967, allocations: 4 kB / 331.9 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007968, allocations: 4 kB / 331.9 MB, free: 8.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.007976, allocations: 0 / 331.9 MB, free: 8.484 MB / 298.7 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.001015/0.008991, allocations: 0.8215 MB / 332.7 MB, free: 7.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.00903, allocations: 15.98 kB / 332.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.605e-05/0.009126, allocations: 83.27 kB / 332.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.00921, allocations: 76.5 kB / 332.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.00973, allocations: 368.3 kB / 333.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-05/0.009815, allocations: 114.3 kB / 333.4 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.009856, allocations: 32.38 kB / 333.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.01049, allocations: 0.8623 MB / 334.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.0105, allocations: 192 / 334.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.01053, allocations: 23.94 kB / 334.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.01054, allocations: 8 kB / 334.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.01102, allocations: 334.4 kB / 334.6 MB, free: 5.527 MB / 298.7 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.001337/0.01235, allocations: 1.033 MB / 335.6 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.01276, allocations: 282 kB / 335.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.01298, allocations: 168.8 kB / 336.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.01301, allocations: 8 kB / 336.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.01303, allocations: 38.56 kB / 336.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.644e-06/0.01303, allocations: 0 / 336.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.000946/0.01398, allocations: 0.5716 MB / 336.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.01412, allocations: 445 kB / 337.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.01448, allocations: 469.8 kB / 337.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.01451, allocations: 37.7 kB / 337.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01463, allocations: 240.7 kB / 337.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.01471, allocations: 126.8 kB / 338 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.0148, allocations: 85.47 kB / 338.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.0149, allocations: 362.7 kB / 338.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.01512, allocations: 161.6 kB / 338.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.01552, allocations: 0.6809 MB / 339.3 MB, free: 496 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.01595, allocations: 345.1 kB / 339.6 MB, free: 140 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01595, allocations: 0 / 339.6 MB, free: 140 kB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006095/0.01656, allocations: 0.5037 MB / 340.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.01659, allocations: 33.64 kB / 340.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.0166, allocations: 4 kB / 340.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.01673, allocations: 49.69 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.01694, allocations: 87.88 kB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.01851, allocations: 2.735 MB / 343 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.01872, allocations: 47.8 kB / 343.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.01874, allocations: 19.92 kB / 343.1 MB, free: 12.39 MB / 314.7 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.0001525/0.0189, allocations: 169.9 kB / 343.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.01895, allocations: 59.67 kB / 343.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.01901, allocations: 52.75 kB / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01901, allocations: 4 kB / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01901, allocations: 0 / 343.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005572/0.01957, allocations: 0.7194 MB / 344.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.02053, allocations: 0.9072 MB / 345 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.02053, allocations: 0 / 345 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.02075, allocations: 91.88 kB / 345.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02076, allocations: 4 kB / 345.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.02077, allocations: 11.94 kB / 345.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.02078, allocations: 7.984 kB / 345.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02078, allocations: 0 / 345.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.02151, allocations: 0.6454 MB / 345.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.02163, allocations: 95.61 kB / 345.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.02167, allocations: 11.94 kB / 345.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.02185, allocations: 31.97 kB / 345.9 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.0219, allocations: 23.95 kB / 345.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.02191, allocations: 4 kB / 345.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002452/0.02216, allocations: 331.1 kB / 346.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02216, allocations: 0 / 346.2 MB, free: 9.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.02246, allocations: 139.8 kB / 346.4 MB, free: 8.914 MB / 314.7 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.0009364/0.0234, allocations: 1.2 MB / 347.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007777/0.02417, allocations: 0.6466 MB / 348.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.02418, allocations: 11.88 kB / 348.2 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.02442, allocations: 163.7 kB / 348.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.02487, allocations: 148.8 kB / 348.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.02957, allocations: 4.61 MB / 353.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.02972, allocations: 224.7 kB / 353.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.02991, allocations: 68.33 kB / 353.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.0301, allocations: 172.5 kB / 353.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.0301, allocations: 0 / 353.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.06206, allocations: 15.49 MB / 369.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.055, allocations: 8 kB / 369.1 MB, free: 2.242 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 9.818584595806897]