Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001671/0.001671, allocations: 114.5 kB / 18.45 MB, free: 4.609 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.001991/0.001991, allocations: 216.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 55.94 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09995, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005913/0.1059, allocations: 3.763 MB / 395.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.1084, allocations: 1.044 MB / 396.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.1086, allocations: 11.94 kB / 396.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.109, allocations: 111 kB / 396.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1095, allocations: 206.3 kB / 396.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1098, allocations: 139.8 kB / 396.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000859/0.1107, allocations: 0.708 MB / 397.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.111, allocations: 142.8 kB / 397.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.1113, allocations: 278.9 kB / 397.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.1117, allocations: 302.8 kB / 398.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.351e-05/0.1118, allocations: 60 kB / 398.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1119, allocations: 60 kB / 398.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1121, allocations: 139.5 kB / 398.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.1124, allocations: 322.5 kB / 398.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008814/0.1133, allocations: 0.7198 MB / 399.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1133, allocations: 0 / 399.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1133, allocations: 0 / 399.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1133, allocations: 0 / 399.4 MB, free: 0.7109 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001919/0.1152, allocations: 0.9361 MB / 400.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1153, allocations: 8.031 kB / 400.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.1154, allocations: 87.67 kB / 400.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.1156, allocations: 68.52 kB / 400.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.1164, allocations: 451.1 kB / 400.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1165, allocations: 63.25 kB / 401 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.1166, allocations: 32.38 kB / 401 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.1176, allocations: 0.5058 MB / 401.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1176, allocations: 4 kB / 401.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.1176, allocations: 23.98 kB / 401.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1176, allocations: 8 kB / 401.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.1185, allocations: 355.7 kB / 401.9 MB, free: 14.02 MB / 334.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.002448/0.121, allocations: 1.359 MB / 403.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.1219, allocations: 429.7 kB / 403.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.1223, allocations: 176.7 kB / 403.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.1224, allocations: 11.98 kB / 403.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/0.1225, allocations: 42.5 kB / 403.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.1225, allocations: 0 / 403.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001808/0.1243, allocations: 0.7432 MB / 404.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002619/0.1245, allocations: 445 kB / 405.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.1252, allocations: 478 kB / 405.5 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.1253, allocations: 33.7 kB / 405.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.1255, allocations: 252.6 kB / 405.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1256, allocations: 126.9 kB / 405.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1258, allocations: 81.69 kB / 406 MB, free: 9.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.126, allocations: 362.7 kB / 406.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.1264, allocations: 143.9 kB / 406.5 MB, free: 9.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.1269, allocations: 290.4 kB / 406.8 MB, free: 8.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.1278, allocations: 354.8 kB / 407.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1278, allocations: 0 / 407.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001199/0.129, allocations: 500 kB / 407.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.129, allocations: 37.64 kB / 407.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.129, allocations: 0 / 407.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.1292, allocations: 61.56 kB / 407.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.1297, allocations: 87.88 kB / 407.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.1326, allocations: 2.957 MB / 410.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.1332, allocations: 63.78 kB / 410.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.1332, allocations: 12 kB / 410.8 MB, free: 4.363 MB / 334.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 (39): * Single equations (assignments): 36 * 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.0002674/0.1335, allocations: 169.8 kB / 411 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.1336, allocations: 55.67 kB / 411.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1337, allocations: 60.86 kB / 411.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1337, allocations: 4.234 kB / 411.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1337, allocations: 0 / 411.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.1349, allocations: 0.7436 MB / 411.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.1368, allocations: 1.052 MB / 412.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1368, allocations: 0 / 412.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005341/0.1373, allocations: 91.88 kB / 413 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.1373, allocations: 7.984 kB / 413 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1374, allocations: 7.938 kB / 413 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1374, allocations: 4 kB / 413 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1374, allocations: 0 / 413 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.1388, allocations: 0.6688 MB / 413.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.139, allocations: 172.7 kB / 413.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.1391, allocations: 16.05 kB / 413.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.1395, allocations: 31.97 kB / 413.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.1395, allocations: 27.72 kB / 413.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1396, allocations: 8 kB / 414 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004844/0.14, allocations: 342.8 kB / 414.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.14, allocations: 0 / 414.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004958/0.1405, allocations: 143.8 kB / 414.4 MB, free: 0.5664 MB / 334.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 (37): * Single equations (assignments): 37 * 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.001815/0.1424, allocations: 1.228 MB / 415.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.1437, allocations: 0.6298 MB / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1437, allocations: 128 / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.1442, allocations: 175.3 kB / 416.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.1449, allocations: 150 kB / 416.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/0.1522, allocations: 4.686 MB / 421.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.1527, allocations: 0.8392 MB / 422.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.153, allocations: 60.53 kB / 422.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.1532, allocations: 187.4 kB / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1532, allocations: 0 / 422.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/0.2032, allocations: 14.08 MB / 436.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.57, allocations: 7.922 kB / 436.5 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.053406386010465]