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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 106.2 kB / 18.4 MB, free: 4.676 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.001159/0.001159, allocations: 185.5 kB / 19.34 MB, free: 3.754 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.283/1.283, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00129/0.00129, allocations: 51.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07802, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00542/0.08348, allocations: 4.349 MB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1554/0.2389, allocations: 1.252 MB / 381.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.2393, allocations: 6.156 kB / 381.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.2397, allocations: 137.6 kB / 381.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005282/0.2402, allocations: 276.8 kB / 381.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.2407, allocations: 195 kB / 382 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007341/0.2414, allocations: 0.9291 MB / 383 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.2418, allocations: 250.1 kB / 383.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.2422, allocations: 367.4 kB / 383.6 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004729/0.2427, allocations: 402.7 kB / 384 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2428, allocations: 75.84 kB / 384 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.243, allocations: 82.41 kB / 384.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.2431, allocations: 172.8 kB / 384.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.2434, allocations: 415.8 kB / 384.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008049/0.2442, allocations: 0.92 MB / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2443, allocations: 0 / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2443, allocations: 0 / 385.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.2443, allocations: 0 / 385.6 MB, free: 8.523 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.001828/0.2461, allocations: 1.11 MB / 386.7 MB, free: 7.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2462, allocations: 14.31 kB / 386.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.2463, allocations: 85.81 kB / 386.8 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/0.2469, allocations: 481.6 kB / 387.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2471, allocations: 96.97 kB / 387.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.2472, allocations: 48.53 kB / 387.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.2483, allocations: 0.6538 MB / 388.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2483, allocations: 9.516 kB / 388.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.2484, allocations: 18.12 kB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2484, allocations: 11.31 kB / 388.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.2494, allocations: 453.1 kB / 388.6 MB, free: 6.672 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.002818/0.2523, allocations: 1.942 MB / 390.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.2543, allocations: 0.6919 MB / 391.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.2549, allocations: 264.6 kB / 391.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.2549, allocations: 10.59 kB / 391.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2549, allocations: 50.16 kB / 391.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.963e-06/0.2549, allocations: 1.062 kB / 391.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.004916/0.2599, allocations: 1.479 MB / 393 MB, free: 4.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.26, allocations: 0.5679 MB / 393.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.2606, allocations: 0.5345 MB / 394.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.2606, allocations: 39.08 kB / 394.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.2608, allocations: 288.6 kB / 394.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.261, allocations: 185.3 kB / 394.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.2611, allocations: 113.1 kB / 394.7 MB, free: 2.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.2613, allocations: 380.9 kB / 395.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.2618, allocations: 189.6 kB / 395.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.2624, allocations: 420.9 kB / 395.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2635, allocations: 496.8 kB / 396.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2635, allocations: 0 / 396.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00229/0.2658, allocations: 0.8094 MB / 397 MB, free: 1.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.2658, allocations: 31.64 kB / 397 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2658, allocations: 2.641 kB / 397 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.2669, allocations: 222.9 kB / 397.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.2676, allocations: 125.1 kB / 397.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.2751, allocations: 5.602 MB / 402.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.2758, allocations: 77.3 kB / 403 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.2759, allocations: 22.56 kB / 403 MB, free: 12.57 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.0002933/0.2762, allocations: 202.8 kB / 403.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.2763, allocations: 71.41 kB / 403.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.2787, allocations: 0.7719 MB / 404.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002176/0.2808, allocations: 1.038 MB / 405.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2809, allocations: 4 kB / 405.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.2812, allocations: 207.2 kB / 405.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2813, allocations: 13.41 kB / 405.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.2818, allocations: 34.66 kB / 405.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2819, allocations: 40.77 kB / 405.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002605/0.2845, allocations: 0.7945 MB / 406.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001911/0.2865, allocations: 0.9653 MB / 407.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005322/0.287, allocations: 224.7 kB / 407.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004399/0.2875, allocations: 384.7 kB / 407.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of Backend: time 7.41e-07/0.2875, allocations: 1.125 kB / 407.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.2897, allocations: 0.9526 MB / 408.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of SimCode: time 0.002253/0.292, allocations: 1.852 MB / 410.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of Templates: time 0.01968/0.3117, allocations: 13.44 MB / 424 MB, free: 13.21 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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) 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) Reference file matches