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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007984, allocations: 96.27 kB / 17.3 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 177 kB / 18.2 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB 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.0005149/0.0005149, allocations: 8 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09928, allocations: 47.59 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004642/0.104, allocations: 3.998 MB / 333.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1067, allocations: 1.185 MB / 334.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.1072, allocations: 7.938 kB / 334.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.1077, allocations: 103.3 kB / 334.3 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.1086, allocations: 234.2 kB / 334.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.1091, allocations: 171.8 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009788/0.1101, allocations: 0.8905 MB / 335.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.1104, allocations: 216.9 kB / 335.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.1109, allocations: 322.7 kB / 336.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1113, allocations: 370.3 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.552e-05/0.1114, allocations: 48 kB / 336.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1115, allocations: 48 kB / 336.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1116, allocations: 151.3 kB / 336.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.1119, allocations: 419.7 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.1127, allocations: 0.86 MB / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1127, allocations: 0 / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1127, allocations: 8 kB / 338 MB, free: 10.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1127, allocations: 0 / 338 MB, free: 10.61 MB / 286.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.001733/0.1144, allocations: 0.9887 MB / 339 MB, free: 9.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1145, allocations: 8.031 kB / 339 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.1146, allocations: 95.61 kB / 339.1 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1148, allocations: 88 kB / 339.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.1154, allocations: 480.6 kB / 339.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.1156, allocations: 101 kB / 339.8 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.1157, allocations: 48.38 kB / 339.8 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.1168, allocations: 0.6787 MB / 340.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1169, allocations: 0 / 340.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.1169, allocations: 20 kB / 340.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1169, allocations: 12 kB / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.118, allocations: 487.6 kB / 341 MB, free: 7.43 MB / 286.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.002928/0.1209, allocations: 1.994 MB / 343 MB, free: 5.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.1228, allocations: 0.722 MB / 343.7 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.1234, allocations: 282 kB / 344 MB, free: 4.285 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.1234, allocations: 8.422 kB / 344 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1234, allocations: 47 kB / 344.1 MB, free: 4.223 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.843e-06/0.1235, allocations: 0 / 344.1 MB, free: 4.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004963/0.1284, allocations: 1.597 MB / 345.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002156/0.1287, allocations: 0.5644 MB / 346.2 MB, free: 1.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.1292, allocations: 0.5382 MB / 346.8 MB, free: 1.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.1293, allocations: 37.7 kB / 346.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.1295, allocations: 300.3 kB / 347.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1297, allocations: 181.3 kB / 347.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.1298, allocations: 49.69 kB / 347.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1299, allocations: 374.7 kB / 347.7 MB, free: 364 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.1304, allocations: 209 kB / 347.9 MB, free: 152 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.1311, allocations: 424.3 kB / 348.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1322, allocations: 0.5123 MB / 348.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1322, allocations: 0 / 348.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002301/0.1345, allocations: 0.8615 MB / 349.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.1346, allocations: 29.7 kB / 349.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1346, allocations: 0 / 349.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.1356, allocations: 230.4 kB / 349.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/0.1363, allocations: 139.7 kB / 350.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.1437, allocations: 5.246 MB / 355.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008104/0.1445, allocations: 87.55 kB / 355.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.1446, allocations: 20 kB / 355.4 MB, free: 8.078 MB / 302.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.0003735/0.145, allocations: 189.8 kB / 355.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1451, allocations: 71.19 kB / 355.7 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.1475, allocations: 0.832 MB / 356.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1475, allocations: 8 kB / 356.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1475, allocations: 0 / 356.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002203/0.1497, allocations: 1.093 MB / 357.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.153, allocations: 1.545 MB / 359.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.153, allocations: 0 / 359.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.1537, allocations: 139.8 kB / 359.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/0.1546, allocations: 181.5 kB / 359.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.1546, allocations: 11.98 kB / 359.5 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.1596, allocations: 3.548 MB / 363 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1597, allocations: 0 / 363 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.1626, allocations: 1.132 MB / 364.2 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.1629, allocations: 208.1 kB / 364.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.163, allocations: 16 kB / 364.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.1635, allocations: 43.97 kB / 364.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1637, allocations: 52.38 kB / 364.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.1637, allocations: 19.92 kB / 364.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.1642, allocations: 386.8 kB / 364.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1642, allocations: 0 / 364.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007477/0.1649, allocations: 215.8 kB / 365.1 MB, free: 13.89 MB / 318.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.003089/0.168, allocations: 1.685 MB / 366.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.1704, allocations: 1.069 MB / 367.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.1704, allocations: 4 kB / 367.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009735/0.1714, allocations: 0.5512 MB / 368.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.1722, allocations: 174.7 kB / 368.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.1833, allocations: 6.752 MB / 375.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1838, allocations: 0.8879 MB / 376.2 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003398/0.1841, allocations: 85.11 kB / 376.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.1845, allocations: 227.4 kB / 376.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1845, allocations: 0 / 376.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1889/0.3734, allocations: 18.56 MB / 395.1 MB, free: 46.27 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.3736, allocations: 243.2 kB / 395.3 MB, free: 46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.694, allocations: 0 / 395.3 MB, free: 46 MB / 318.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches