Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001332/0.001332, allocations: 109 kB / 21.23 MB, free: 0.6641 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.00144/0.00144, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 68.55 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.247, allocations: 53.36 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006058/0.253, allocations: 4.424 MB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.2555, allocations: 1.26 MB / 438.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.2558, allocations: 11.94 kB / 438.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.2561, allocations: 130.8 kB / 438.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005755/0.2567, allocations: 273.7 kB / 438.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.2572, allocations: 195.6 kB / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2582, allocations: 0.9399 MB / 439.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.2585, allocations: 173 kB / 439.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.259, allocations: 382.7 kB / 440.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.2595, allocations: 402.3 kB / 440.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.2597, allocations: 76 kB / 440.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2598, allocations: 84 kB / 440.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.26, allocations: 171.4 kB / 440.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.2604, allocations: 422 kB / 441.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2614, allocations: 0.918 MB / 442.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2615, allocations: 0 / 442.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2615, allocations: 8 kB / 442.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.2615, allocations: 0 / 442.2 MB, free: 13.11 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.002084/0.2636, allocations: 1.068 MB / 443.3 MB, free: 12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2636, allocations: 8.031 kB / 443.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.2638, allocations: 92.47 kB / 443.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/0.2646, allocations: 427.3 kB / 443.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2648, allocations: 96.95 kB / 443.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.2649, allocations: 48.38 kB / 443.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.2661, allocations: 0.6554 MB / 444.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2661, allocations: 0 / 444.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.2661, allocations: 24 kB / 444.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.2662, allocations: 12 kB / 444.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2672, allocations: 447.7 kB / 445.1 MB, free: 10.11 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.003164/0.2704, allocations: 1.877 MB / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2723, allocations: 0.5877 MB / 447.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.2728, allocations: 234 kB / 447.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.2729, allocations: 12.44 kB / 447.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.2729, allocations: 39 kB / 447.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.844e-06/0.2729, allocations: 0 / 447.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004938/0.2779, allocations: 1.25 MB / 449.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003176/0.2782, allocations: 0.5644 MB / 449.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.2789, allocations: 0.5459 MB / 450.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.2789, allocations: 37.7 kB / 450.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.2792, allocations: 285.2 kB / 450.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2793, allocations: 198.3 kB / 450.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.2795, allocations: 114.3 kB / 450.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2797, allocations: 366.8 kB / 451.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.2803, allocations: 197.2 kB / 451.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.281, allocations: 418.6 kB / 451.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.2821, allocations: 491.5 kB / 452.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2821, allocations: 0 / 452.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002318/0.2844, allocations: 0.8056 MB / 453 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.2844, allocations: 29.7 kB / 453.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2844, allocations: 0 / 453.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.2855, allocations: 234.3 kB / 453.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.2862, allocations: 127.8 kB / 453.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00792/0.2941, allocations: 5.294 MB / 458.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.2947, allocations: 75.64 kB / 458.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2948, allocations: 19.98 kB / 458.8 MB, free: 11.55 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.0003317/0.2951, allocations: 193.7 kB / 459 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.2952, allocations: 83.45 kB / 459.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.2976, allocations: 0.7641 MB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2976, allocations: 4.125 kB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2976, allocations: 8 kB / 459.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/0.2999, allocations: 1.033 MB / 460.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.3031, allocations: 1.468 MB / 462.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.3031, allocations: 8.125 kB / 462.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.3039, allocations: 131.8 kB / 462.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.3047, allocations: 181.4 kB / 462.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.3048, allocations: 12 kB / 462.7 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/0.3103, allocations: 3.588 MB / 466.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3103, allocations: 0 / 466.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.3132, allocations: 1.069 MB / 467.3 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.3135, allocations: 123.4 kB / 467.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.3136, allocations: 19.98 kB / 467.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3141, allocations: 31.97 kB / 467.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.3142, allocations: 44.41 kB / 467.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.3143, allocations: 23.94 kB / 467.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005121/0.3148, allocations: 386.8 kB / 468 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 4 kB / 468 MB, free: 1.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.3155, allocations: 211.9 kB / 468.2 MB, free: 1.746 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.000171/0.3157, allocations: 119.2 kB / 468.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002398/0.3181, allocations: 1.013 MB / 469.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3181, allocations: 0 / 469.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3191, allocations: 0.5155 MB / 469.8 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.32, allocations: 198.9 kB / 470 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.3223, allocations: 1.278 MB / 471.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.3228, allocations: 0.8879 MB / 472.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.3231, allocations: 89.05 kB / 472.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3233, allocations: 55.44 kB / 472.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3233, allocations: 0 / 472.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02625/0.3495, allocations: 14.69 MB / 487 MB, free: 14.96 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.037588524632156]