Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001874/0.001874, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002093/0.002093, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.221e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006113/0.006146, allocations: 3.97 MB / 271.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.008871, allocations: 1.164 MB / 272.4 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.009138, allocations: 7.938 kB / 272.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.00956, allocations: 142.8 kB / 272.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.01027, allocations: 285.4 kB / 272.9 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.01078, allocations: 203.6 kB / 273.1 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.01207, allocations: 0.9567 MB / 274 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.01242, allocations: 168.8 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008352/0.01325, allocations: 0.5301 MB / 274.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005087/0.01376, allocations: 299.1 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.01391, allocations: 76 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.01406, allocations: 84 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.01424, allocations: 175.4 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.01462, allocations: 295.3 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.0158, allocations: 0.9579 MB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01581, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01581, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.01582, allocations: 0 / 276.6 MB, free: 13.4 MB / 266.7 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.002261/0.01808, allocations: 1.045 MB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.01812, allocations: 8.922 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.01838, allocations: 128.4 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.0193, allocations: 442.4 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.01953, allocations: 152.4 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.01964, allocations: 52.38 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.02143, allocations: 1.154 MB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.02145, allocations: 7.938 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.02152, allocations: 24 kB / 279.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.02154, allocations: 12 kB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.02272, allocations: 439.7 kB / 280 MB, free: 9.668 MB / 266.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.003328/0.02605, allocations: 1.484 MB / 281.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.02815, allocations: 0.5731 MB / 282.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.0288, allocations: 242.2 kB / 282.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.02884, allocations: 8.5 kB / 282.3 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.02888, allocations: 43.06 kB / 282.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/0.02889, allocations: 0 / 282.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.005614/0.0345, allocations: 1.268 MB / 283.6 MB, free: 5.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000383/0.03488, allocations: 0.5644 MB / 284.2 MB, free: 5.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007241/0.03561, allocations: 0.5027 MB / 284.7 MB, free: 4.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.03568, allocations: 37.7 kB / 284.7 MB, free: 4.699 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.03596, allocations: 297.7 kB / 285 MB, free: 4.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.03616, allocations: 190.3 kB / 285.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.03637, allocations: 114.3 kB / 285.3 MB, free: 4.098 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.03661, allocations: 370.8 kB / 285.7 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.0372, allocations: 222.9 kB / 285.9 MB, free: 3.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.03847, allocations: 0.9596 MB / 286.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.03967, allocations: 491.8 kB / 287.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.03968, allocations: 4 kB / 287.4 MB, free: 1.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002654/0.04233, allocations: 0.8503 MB / 288.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.04238, allocations: 33.7 kB / 288.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.04239, allocations: 0 / 288.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.044, allocations: 266.2 kB / 288.5 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.04479, allocations: 127.8 kB / 288.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008884/0.05368, allocations: 5.212 MB / 293.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.05445, allocations: 75.67 kB / 293.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.05449, allocations: 16 kB / 293.9 MB, free: 10.9 MB / 282.7 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.0003422/0.05484, allocations: 197.7 kB / 294.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.055, allocations: 83.62 kB / 294.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.05759, allocations: 0.7714 MB / 295 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.0576, allocations: 8 kB / 295 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.0576, allocations: 4 kB / 295 MB, free: 9.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002496/0.0601, allocations: 1.033 MB / 296 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.0636, allocations: 1.297 MB / 297.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.0636, allocations: 0 / 297.3 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.06441, allocations: 127.8 kB / 297.4 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.06577, allocations: 221.4 kB / 297.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.06582, allocations: 15.98 kB / 297.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00607/0.07189, allocations: 3.535 MB / 301.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.07189, allocations: 0 / 301.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.0751, allocations: 1.077 MB / 302.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.07544, allocations: 131.4 kB / 302.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.07554, allocations: 19.98 kB / 302.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.07605, allocations: 31.97 kB / 302.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.0762, allocations: 52.34 kB / 302.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.07623, allocations: 12 kB / 302.5 MB, free: 1.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004921/0.07673, allocations: 354.9 kB / 302.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07673, allocations: 0 / 302.9 MB, free: 1.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008009/0.07753, allocations: 227.8 kB / 303.1 MB, free: 1.316 MB / 282.7 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.0001703/0.0777, allocations: 115.2 kB / 303.2 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.08025, allocations: 1.03 MB / 304.2 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.08025, allocations: 4 kB / 304.2 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.09754/0.1778, allocations: 0.5098 MB / 304.7 MB, free: 46.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.1787, allocations: 184.5 kB / 304.9 MB, free: 46.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1807, allocations: 1.187 MB / 306.1 MB, free: 46.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1809, allocations: 289.2 kB / 306.4 MB, free: 45.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.1812, allocations: 80.66 kB / 306.5 MB, free: 45.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1814, allocations: 53.83 kB / 306.5 MB, free: 45.9 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1814, allocations: 0 / 306.5 MB, free: 45.9 MB / 282.7 MB Notification: Performance of Templates: time 0.02078/0.2022, allocations: 14.48 MB / 321 MB, free: 39.47 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.985081735998392]