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.001824/0.001824, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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: 215.1 kB / 24.48 MB, free: 3.84 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001633/0.001633, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006346/0.2675, allocations: 3.968 MB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.2701, allocations: 1.192 MB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.2705, allocations: 11.88 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.271, allocations: 138.8 kB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.2717, allocations: 265.8 kB / 437.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2722, allocations: 199.7 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.2734, allocations: 0.9287 MB / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.2738, allocations: 165.1 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.2744, allocations: 382.6 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.2749, allocations: 346.3 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.275, allocations: 80 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2752, allocations: 84 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2754, allocations: 175.3 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.2758, allocations: 346.6 kB / 440.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2769, allocations: 0.9367 MB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2769, allocations: 0 / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2769, allocations: 0 / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.2769, allocations: 0 / 441.5 MB, free: 13.54 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.002215/0.2791, allocations: 1.061 MB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2792, allocations: 12.03 kB / 442.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.2794, allocations: 92.42 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/0.2803, allocations: 427.2 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.2804, allocations: 148.4 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.2805, allocations: 48.38 kB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2821, allocations: 1.158 MB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.2821, allocations: 4 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.2822, allocations: 20 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2822, allocations: 12 kB / 444.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2833, allocations: 443.6 kB / 444.9 MB, free: 9.844 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.003147/0.2864, allocations: 1.479 MB / 446.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.2884, allocations: 0.5722 MB / 446.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.289, allocations: 246.6 kB / 447.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.2891, allocations: 8.375 kB / 447.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.2891, allocations: 54.94 kB / 447.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.255e-06/0.2891, allocations: 0 / 447.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005286/0.2944, allocations: 1.242 MB / 448.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000402/0.2948, allocations: 0.5644 MB / 449.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.2956, allocations: 0.4989 MB / 449.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-05/0.2957, allocations: 37.7 kB / 449.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.2959, allocations: 301.6 kB / 449.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.2962, allocations: 190.3 kB / 450.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.2964, allocations: 110.3 kB / 450.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.2966, allocations: 366.8 kB / 450.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.2972, allocations: 222.9 kB / 450.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.2983, allocations: 0.9619 MB / 451.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2995, allocations: 495.4 kB / 452.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2995, allocations: 0 / 452.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002524/0.302, allocations: 0.8346 MB / 453 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.3021, allocations: 33.7 kB / 453.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3021, allocations: 0 / 453.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3031, allocations: 218.4 kB / 453.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.3039, allocations: 127.8 kB / 453.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.3121, allocations: 5.2 MB / 458.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.3128, allocations: 75.91 kB / 458.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.3129, allocations: 19.98 kB / 458.7 MB, free: 11.18 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.0003181/0.3132, allocations: 189.7 kB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3133, allocations: 71.56 kB / 459 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.3158, allocations: 0.7637 MB / 459.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3158, allocations: 8 kB / 459.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3158, allocations: 0 / 459.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002375/0.3181, allocations: 1.029 MB / 460.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.3215, allocations: 1.305 MB / 462.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3215, allocations: 0 / 462.1 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008069/0.3223, allocations: 131.8 kB / 462.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008704/0.3232, allocations: 169.6 kB / 462.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.3233, allocations: 15.98 kB / 462.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005633/0.3289, allocations: 3.531 MB / 465.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3289, allocations: 0 / 465.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.3319, allocations: 1.057 MB / 467 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.3323, allocations: 123.4 kB / 467.1 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/0.3324, allocations: 19.92 kB / 467.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.3329, allocations: 35.97 kB / 467.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.333, allocations: 48.34 kB / 467.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.333, allocations: 20 kB / 467.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004681/0.3335, allocations: 354.9 kB / 467.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3335, allocations: 0 / 467.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008009/0.3343, allocations: 223.8 kB / 467.8 MB, free: 1.691 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.0001625/0.3345, allocations: 111.2 kB / 467.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.337, allocations: 1.042 MB / 468.9 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.337, allocations: 0 / 468.9 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.3382, allocations: 0.5117 MB / 469.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.3391, allocations: 181.2 kB / 469.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.3416, allocations: 1.324 MB / 470.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3419, allocations: 289.8 kB / 471.2 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.3421, allocations: 55.42 kB / 471.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3421, allocations: 0 / 471.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Templates: time 0.02193/0.364, allocations: 15.58 MB / 486.8 MB, free: 14.54 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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: 8.871644280850887]