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.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.001513/0.001513, allocations: 99.23 kB / 21.93 MB, free: 5.207 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.001687/0.001687, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.443/1.443, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [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.00188/0.00188, allocations: 55.91 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3284, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005846/0.3343, allocations: 3.957 MB / 401.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3369, allocations: 1.208 MB / 402.8 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.3372, allocations: 14.62 kB / 402.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.3376, allocations: 129.1 kB / 402.9 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000596/0.3382, allocations: 268 kB / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.3387, allocations: 204.1 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3399, allocations: 0.9212 MB / 404.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3403, allocations: 170.6 kB / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.341, allocations: 368.7 kB / 404.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.3416, allocations: 359.7 kB / 405.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.3418, allocations: 76.56 kB / 405.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.342, allocations: 77.38 kB / 405.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001975/0.3422, allocations: 168.4 kB / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.3428, allocations: 352.3 kB / 405.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3444, allocations: 0.9254 MB / 406.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3444, allocations: 0 / 406.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3444, allocations: 0 / 406.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.3444, allocations: 0.6562 kB / 406.7 MB, free: 3.953 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002929/0.3473, allocations: 1.064 MB / 407.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.3474, allocations: 13.7 kB / 407.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.3476, allocations: 90.59 kB / 407.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.3488, allocations: 425.8 kB / 408.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.349, allocations: 150.2 kB / 408.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3491, allocations: 46.62 kB / 408.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.351, allocations: 1.161 MB / 409.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.351, allocations: 7.891 kB / 409.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-05/0.3511, allocations: 22.88 kB / 409.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.3511, allocations: 10.72 kB / 409.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.3527, allocations: 442.4 kB / 410.2 MB, free: 1.531 MB / 318.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.004086/0.3568, allocations: 1.476 MB / 411.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.3594, allocations: 0.5758 MB / 412.2 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.3601, allocations: 245 kB / 412.4 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.3602, allocations: 11.06 kB / 412.5 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3602, allocations: 40.41 kB / 412.5 MB, free: 80 kB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 3.747e-06/0.3602, allocations: 0 / 412.5 MB, free: 80 kB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.007243/0.3674, allocations: 1.246 MB / 413.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004267/0.3679, allocations: 0.5708 MB / 414.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.3689, allocations: 0.4926 MB / 414.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.369, allocations: 39.2 kB / 414.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.3694, allocations: 295.4 kB / 415.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/0.3697, allocations: 197.1 kB / 415.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.37, allocations: 117.2 kB / 415.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002784/0.3703, allocations: 364.1 kB / 415.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007775/0.3711, allocations: 223.4 kB / 416 MB, free: 13.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.3726, allocations: 0.9624 MB / 417 MB, free: 12.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.3742, allocations: 492.8 kB / 417.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3742, allocations: 0 / 417.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003702/0.3779, allocations: 0.8259 MB / 418.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.444e-05/0.378, allocations: 31.67 kB / 418.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.378, allocations: 5.172 kB / 418.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.3796, allocations: 214.5 kB / 418.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3806, allocations: 134.6 kB / 418.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.3926, allocations: 5.188 MB / 423.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.394, allocations: 71.06 kB / 423.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.3941, allocations: 21.23 kB / 423.9 MB, free: 6.703 MB / 334.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.0005134/0.3946, allocations: 190.2 kB / 424.1 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.3949, allocations: 74.23 kB / 424.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/0.3982, allocations: 0.7724 MB / 425 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.3982, allocations: 8.859 kB / 425 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3982, allocations: 1.219 kB / 425 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003204/0.4014, allocations: 1.032 MB / 426 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.4065, allocations: 1.3 MB / 427.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4065, allocations: 0 / 427.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4076, allocations: 127.8 kB / 427.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.4088, allocations: 173.5 kB / 427.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.4088, allocations: 12 kB / 427.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007909/0.4168, allocations: 3.531 MB / 431.1 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4168, allocations: 0 / 431.1 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.4214, allocations: 1.061 MB / 432.2 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/0.422, allocations: 119.5 kB / 432.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.4222, allocations: 19.94 kB / 432.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/0.423, allocations: 35.97 kB / 432.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.4232, allocations: 44.41 kB / 432.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.4232, allocations: 16 kB / 432.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007638/0.424, allocations: 362.8 kB / 432.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.424, allocations: 0 / 432.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00134/0.4253, allocations: 223.7 kB / 433 MB, free: 14.2 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.0002434/0.4256, allocations: 111.2 kB / 433.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.4292, allocations: 1.042 MB / 434.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.4292, allocations: 4 kB / 434.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.4307, allocations: 0.5078 MB / 434.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.4323, allocations: 182.5 kB / 434.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.4362, allocations: 1.313 MB / 436.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.4367, allocations: 289.8 kB / 436.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.437, allocations: 51.42 kB / 436.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.437, allocations: 3.938 kB / 436.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of Templates: time 0.03318/0.4702, allocations: 15.58 MB / 452.1 MB, free: 10.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.211287480778992]