Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 115.9 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 190.9 kB / 21.39 MB, free: 1.652 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.385/1.385, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 60.33 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09417, allocations: 49.13 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00595/0.1001, allocations: 4.372 MB / 395.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1024, allocations: 1.274 MB / 397 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002132/0.1026, allocations: 4 kB / 397 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1029, allocations: 134.8 kB / 397.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.1034, allocations: 273.7 kB / 397.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1038, allocations: 195.7 kB / 397.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009498/0.1048, allocations: 0.9258 MB / 398.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.1051, allocations: 176.5 kB / 398.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.1055, allocations: 366.6 kB / 399.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.106, allocations: 398.4 kB / 399.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1061, allocations: 76 kB / 399.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1063, allocations: 80 kB / 399.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1064, allocations: 167.4 kB / 399.8 MB, free: 312 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.1068, allocations: 418.1 kB / 400.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.1078, allocations: 0.9337 MB / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1078, allocations: 0 / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1078, allocations: 0 / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1078, allocations: 0 / 401.1 MB, free: 14.96 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002085/0.1099, allocations: 1.128 MB / 402.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1099, allocations: 12.03 kB / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.1101, allocations: 91.66 kB / 402.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1103, allocations: 104.4 kB / 402.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.111, allocations: 493 kB / 402.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.1112, allocations: 96.95 kB / 403 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.1113, allocations: 48.38 kB / 403.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1124, allocations: 0.6553 MB / 403.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1124, allocations: 3.938 kB / 403.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.1125, allocations: 24 kB / 403.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1125, allocations: 12 kB / 403.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.1135, allocations: 455.7 kB / 404.2 MB, free: 11.66 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.003192/0.1167, allocations: 1.96 MB / 406.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.1186, allocations: 0.6642 MB / 406.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.1192, allocations: 234 kB / 407.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.1192, allocations: 16.42 kB / 407.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1193, allocations: 43 kB / 407.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.944e-06/0.1193, allocations: 0 / 407.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004874/0.1242, allocations: 1.48 MB / 408.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003489/0.1245, allocations: 0.5605 MB / 409.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.1252, allocations: 0.5343 MB / 409.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.875e-05/0.1253, allocations: 37.7 kB / 409.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.1255, allocations: 297.1 kB / 410 MB, free: 5.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.1257, allocations: 198.3 kB / 410.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.1259, allocations: 114.2 kB / 410.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.1262, allocations: 374.7 kB / 410.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.1267, allocations: 197 kB / 410.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/0.1274, allocations: 408.3 kB / 411.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1285, allocations: 0.4888 MB / 411.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1285, allocations: 0 / 411.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002349/0.1308, allocations: 0.8032 MB / 412.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.1309, allocations: 37.73 kB / 412.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1309, allocations: 0 / 412.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.1318, allocations: 222.3 kB / 412.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/0.1325, allocations: 123.8 kB / 413 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008113/0.1406, allocations: 5.619 MB / 418.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.1414, allocations: 83.58 kB / 418.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.1414, allocations: 16 kB / 418.7 MB, free: 12.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.1417, allocations: 189.8 kB / 418.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1418, allocations: 71.77 kB / 418.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.1441, allocations: 0.7734 MB / 419.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1441, allocations: 11.88 kB / 419.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1441, allocations: 0 / 419.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/0.1464, allocations: 1.035 MB / 420.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.1497, allocations: 1.502 MB / 422.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1497, allocations: 0 / 422.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.1504, allocations: 131.8 kB / 422.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008111/0.1512, allocations: 177.5 kB / 422.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.1513, allocations: 15.98 kB / 422.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/0.1569, allocations: 3.799 MB / 426.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1569, allocations: 3.938 kB / 426.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.1602, allocations: 1.067 MB / 427.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.1607, allocations: 204.5 kB / 427.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.1608, allocations: 16 kB / 427.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.1613, allocations: 39.89 kB / 427.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1614, allocations: 48.5 kB / 427.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.1614, allocations: 12 kB / 427.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005477/0.162, allocations: 386.8 kB / 428.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.162, allocations: 3.938 kB / 428.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007757/0.1628, allocations: 219.8 kB / 428.3 MB, free: 2.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003245/0.166, allocations: 1.623 MB / 430 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.1684, allocations: 1.014 MB / 431 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1684, allocations: 0 / 431 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.1694, allocations: 0.5201 MB / 431.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.1703, allocations: 186.5 kB / 431.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.1809, allocations: 6.055 MB / 437.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.1815, allocations: 0.8879 MB / 438.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.1819, allocations: 85.12 kB / 438.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.1822, allocations: 231.4 kB / 438.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1822, allocations: 0 / 438.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/0.2707, allocations: 20.3 MB / 459.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.15, allocations: 7.969 kB / 459.3 MB, free: 2.77 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.675619828049093]