Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001793/0.001793, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002187/0.002187, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 51.94 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09971, allocations: 53.34 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.2188/0.3186, allocations: 4.388 MB / 431.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3209, allocations: 1.251 MB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.3212, allocations: 14.44 kB / 432.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.3215, allocations: 133.6 kB / 432.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.322, allocations: 269.9 kB / 432.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3225, allocations: 198.2 kB / 433 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.3233, allocations: 0.927 MB / 434 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.3235, allocations: 172.5 kB / 434.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.324, allocations: 374.8 kB / 434.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.3244, allocations: 406.8 kB / 434.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.3245, allocations: 78.53 kB / 435 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3247, allocations: 79.53 kB / 435.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3248, allocations: 169 kB / 435.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.3251, allocations: 421.9 kB / 435.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3262, allocations: 0.9233 MB / 436.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3262, allocations: 4 kB / 436.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3262, allocations: 1.281 kB / 436.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3262, allocations: 0 / 436.6 MB, free: 7.098 MB / 350.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.002017/0.3282, allocations: 1.139 MB / 437.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3282, allocations: 9 kB / 437.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.3285, allocations: 91.09 kB / 437.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.3292, allocations: 489.6 kB / 438.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.3293, allocations: 98.34 kB / 438.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.3294, allocations: 46.88 kB / 438.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3306, allocations: 0.655 MB / 439.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3306, allocations: 0 / 439.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.3306, allocations: 24.53 kB / 439.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.3307, allocations: 10.28 kB / 439.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.3318, allocations: 450.2 kB / 439.5 MB, free: 5.227 MB / 350.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.003104/0.3349, allocations: 1.951 MB / 441.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.3369, allocations: 0.6558 MB / 442.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.3375, allocations: 236.3 kB / 442.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/0.3376, allocations: 12.11 kB / 442.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3376, allocations: 43.84 kB / 442.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.364e-06/0.3376, allocations: 0.5938 kB / 442.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005506/0.3431, allocations: 1.479 MB / 443.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3432, allocations: 0.5633 MB / 444.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/0.3439, allocations: 0.544 MB / 445 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.344, allocations: 38.61 kB / 445.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3442, allocations: 286.2 kB / 445.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3443, allocations: 195.8 kB / 445.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.3445, allocations: 113.8 kB / 445.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.3446, allocations: 372.7 kB / 446 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.3451, allocations: 194.4 kB / 446.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/0.3458, allocations: 419.8 kB / 446.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3469, allocations: 489.2 kB / 447.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3469, allocations: 0 / 447.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002445/0.3493, allocations: 0.8061 MB / 447.9 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.3494, allocations: 33.95 kB / 447.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3494, allocations: 3.672 kB / 447.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.3505, allocations: 227.5 kB / 448.2 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.3513, allocations: 125.8 kB / 448.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/0.3605, allocations: 5.612 MB / 453.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.3614, allocations: 77.64 kB / 454 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.3615, allocations: 18.78 kB / 454 MB, free: 11.14 MB / 366.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.0003977/0.3619, allocations: 199.3 kB / 454.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.362, allocations: 71.61 kB / 454.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.3646, allocations: 0.7658 MB / 455 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3646, allocations: 10.16 kB / 455 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.3646, allocations: 0 / 455 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002591/0.3672, allocations: 1.039 MB / 456.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.3711, allocations: 1.491 MB / 457.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.3711, allocations: 5.125 kB / 457.6 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.3719, allocations: 133.2 kB / 457.7 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/0.3728, allocations: 182.6 kB / 457.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.3729, allocations: 8.391 kB / 457.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005973/0.3788, allocations: 3.803 MB / 461.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3788, allocations: 0 / 461.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.382, allocations: 1.074 MB / 462.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.3824, allocations: 202.9 kB / 462.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.3825, allocations: 12.22 kB / 463 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.383, allocations: 37.27 kB / 463 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.3832, allocations: 43.06 kB / 463 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.3832, allocations: 18.44 kB / 463.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005066/0.3837, allocations: 389.8 kB / 463.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3837, allocations: 0 / 463.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000831/0.3846, allocations: 218.2 kB / 463.6 MB, free: 4.559 MB / 366.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.0001606/0.3847, allocations: 124.6 kB / 463.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.3877, allocations: 1.006 MB / 464.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.3877, allocations: 1.156 kB / 464.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3889, allocations: 0.5128 MB / 465.3 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.39, allocations: 201.5 kB / 465.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.3925, allocations: 1.281 MB / 466.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.3931, allocations: 0.8862 MB / 467.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.3936, allocations: 86.66 kB / 467.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.3937, allocations: 52.75 kB / 467.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of SimCode: time 1.943e-06/0.3937, allocations: 0 / 467.8 MB, free: 1.629 MB / 366.1 MB Notification: Performance of Templates: time 0.02736/0.4211, allocations: 14.35 MB / 482.1 MB, free: 7.148 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.335266012698412]