Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 59.89 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.42 MB / 432.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005762/0.2543, allocations: 3.967 MB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2567, allocations: 1.191 MB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.257, allocations: 11.94 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.2574, allocations: 134.8 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005681/0.258, allocations: 269.8 kB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.2584, allocations: 203.6 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2595, allocations: 0.922 MB / 439.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2598, allocations: 173 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.2603, allocations: 374.6 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.2608, allocations: 350.3 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2609, allocations: 76 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.2611, allocations: 80 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.2613, allocations: 179.3 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.2617, allocations: 346.5 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2628, allocations: 0.9435 MB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2628, allocations: 0 / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2628, allocations: 0 / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2628, allocations: 0 / 441.6 MB, free: 13.36 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.002175/0.265, allocations: 1.057 MB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.265, allocations: 11.98 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.2653, allocations: 88.47 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.2661, allocations: 439.2 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.2663, allocations: 144.4 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.2664, allocations: 48.36 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2679, allocations: 1.154 MB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2679, allocations: 4 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-05/0.268, allocations: 20 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.268, allocations: 12 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2691, allocations: 451.6 kB / 445 MB, free: 9.664 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.003012/0.2721, allocations: 1.475 MB / 446.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.274, allocations: 0.5792 MB / 447 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.2746, allocations: 234 kB / 447.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.2746, allocations: 16.36 kB / 447.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.2747, allocations: 47.56 kB / 447.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.385e-06/0.2747, allocations: 0 / 447.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004932/0.2796, allocations: 1.242 MB / 448.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003197/0.2799, allocations: 0.5643 MB / 449.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.2805, allocations: 0.499 MB / 449.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.2806, allocations: 37.7 kB / 449.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.2808, allocations: 297.6 kB / 449.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.281, allocations: 194.3 kB / 450.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.2812, allocations: 110.3 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2814, allocations: 366.8 kB / 450.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.282, allocations: 226.8 kB / 450.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.283, allocations: 0.9674 MB / 451.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2842, allocations: 491.5 kB / 452.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2842, allocations: 4 kB / 452.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002365/0.2865, allocations: 0.8229 MB / 453.1 MB, free: 1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.2866, allocations: 41.73 kB / 453.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2866, allocations: 0 / 453.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2876, allocations: 230.2 kB / 453.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.2884, allocations: 123.8 kB / 453.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008063/0.2964, allocations: 5.189 MB / 458.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.2972, allocations: 67.75 kB / 458.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.2972, allocations: 16 kB / 458.7 MB, free: 11.02 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.0003385/0.2976, allocations: 209.7 kB / 459 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2977, allocations: 67.56 kB / 459 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.3001, allocations: 0.7598 MB / 459.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.3001, allocations: 8 kB / 459.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3001, allocations: 0 / 459.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002304/0.3024, allocations: 1.029 MB / 460.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.3059, allocations: 1.301 MB / 462.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3059, allocations: 0 / 462.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.3067, allocations: 136 kB / 462.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008394/0.3075, allocations: 169.5 kB / 462.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.3076, allocations: 15.98 kB / 462.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/0.3134, allocations: 3.524 MB / 466 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3134, allocations: 128 / 466 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.3164, allocations: 1.065 MB / 467 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.3167, allocations: 123.4 kB / 467.1 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.3168, allocations: 15.94 kB / 467.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.3173, allocations: 39.95 kB / 467.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3175, allocations: 40.42 kB / 467.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.3175, allocations: 19.98 kB / 467.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000487/0.318, allocations: 358.9 kB / 467.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.318, allocations: 3.938 kB / 467.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008306/0.3188, allocations: 219.8 kB / 467.8 MB, free: 1.527 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.0001702/0.319, allocations: 115.2 kB / 467.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.3214, allocations: 1.042 MB / 469 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3215, allocations: 0 / 469 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3225, allocations: 0.5158 MB / 469.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.3235, allocations: 182.2 kB / 469.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.326, allocations: 1.316 MB / 471 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.3263, allocations: 289.8 kB / 471.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.3265, allocations: 55.42 kB / 471.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3265, allocations: 0 / 471.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02196/0.3485, allocations: 15.58 MB / 486.9 MB, free: 14.36 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.804488598834723]