Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 115.5 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 214.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.9 MB, free: 10.26 MB / 206.1 MB 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.001862/0.001862, allocations: 59.89 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2268, allocations: 50.54 MB / 410.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006047/0.2328, allocations: 4.855 MB / 415.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2351, allocations: 1.386 MB / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.2353, allocations: 7.938 kB / 416.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.2356, allocations: 158.7 kB / 416.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.2363, allocations: 341.4 kB / 416.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2367, allocations: 215.6 kB / 417.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.2378, allocations: 1.029 MB / 418.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.2381, allocations: 202 kB / 418.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.2386, allocations: 406.6 kB / 418.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.2391, allocations: 458 kB / 419.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2392, allocations: 88 kB / 419.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2393, allocations: 92 kB / 419.4 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2395, allocations: 195.4 kB / 419.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.24, allocations: 477.8 kB / 420 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.241, allocations: 1.074 MB / 421.1 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.241, allocations: 7.875 kB / 421.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.241, allocations: 3.938 kB / 421.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2411, allocations: 0 / 421.1 MB, free: 6.496 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002256/0.2433, allocations: 1.247 MB / 422.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2433, allocations: 12.03 kB / 422.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.2435, allocations: 104.4 kB / 422.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.2443, allocations: 0.5203 MB / 423 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.2445, allocations: 101.3 kB / 423.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.2445, allocations: 48.38 kB / 423.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2459, allocations: 0.7966 MB / 424 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2459, allocations: 0 / 424 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.246, allocations: 28 kB / 424 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.246, allocations: 12 kB / 424 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2473, allocations: 0.5035 MB / 424.5 MB, free: 2.906 MB / 334.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.003364/0.2506, allocations: 2.154 MB / 426.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2519, allocations: 0.4978 MB / 427.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.2525, allocations: 227.6 kB / 427.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.2526, allocations: 12.47 kB / 427.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.2533, allocations: 323 kB / 427.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.114e-06/0.2533, allocations: 4 kB / 427.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00508/0.2584, allocations: 1.482 MB / 429.2 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004875/0.2589, allocations: 0.8194 MB / 430 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007779/0.2597, allocations: 0.5901 MB / 430.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.2597, allocations: 41.7 kB / 430.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.26, allocations: 341.2 kB / 431 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.2602, allocations: 194.3 kB / 431.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.2604, allocations: 134.2 kB / 431.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.2606, allocations: 378.8 kB / 431.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.2612, allocations: 216.9 kB / 431.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.2621, allocations: 0.513 MB / 432.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2634, allocations: 0.5654 MB / 433 MB, free: 9.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2634, allocations: 4 kB / 433 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002293/0.2657, allocations: 0.8899 MB / 433.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.096e-05/0.2657, allocations: 63.33 kB / 433.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2657, allocations: 4 kB / 433.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.2665, allocations: 221.5 kB / 434.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.2671, allocations: 119.8 kB / 434.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/0.2741, allocations: 4.594 MB / 438.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.2749, allocations: 91.56 kB / 438.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.2749, allocations: 20 kB / 438.9 MB, free: 3.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.2753, allocations: 217.3 kB / 439.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2754, allocations: 87.52 kB / 439.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.2755, allocations: 74.86 kB / 439.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.2755, allocations: 11.94 kB / 439.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2755, allocations: 0 / 439.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/0.2777, allocations: 1.046 MB / 440.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.2804, allocations: 1.536 MB / 441.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2804, allocations: 0 / 441.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.281, allocations: 103.9 kB / 442 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/0.2816, allocations: 177.5 kB / 442.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.2816, allocations: 16 kB / 442.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005322/0.2869, allocations: 3.937 MB / 446.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2869, allocations: 3.984 kB / 446.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.2893, allocations: 1.028 MB / 447.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.2896, allocations: 216.4 kB / 447.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2897, allocations: 20 kB / 447.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.2903, allocations: 39.95 kB / 447.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.2905, allocations: 56.67 kB / 447.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.2905, allocations: 15.94 kB / 447.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005126/0.291, allocations: 427.1 kB / 447.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.291, allocations: 0 / 447.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007884/0.2918, allocations: 247.8 kB / 448.2 MB, free: 9.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.292, allocations: 127.1 kB / 448.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.294, allocations: 0.9802 MB / 449.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.294, allocations: 4.062 kB / 449.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.295, allocations: 0.5199 MB / 449.8 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/0.2959, allocations: 211.1 kB / 450 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.2985, allocations: 1.317 MB / 451.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.2991, allocations: 0.9121 MB / 452.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003247/0.2994, allocations: 85.22 kB / 452.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2996, allocations: 59.42 kB / 452.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2996, allocations: 0 / 452.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of Templates: time 0.02791/0.3275, allocations: 16.43 MB / 468.8 MB, free: 5.266 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches