Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.532/1.532, allocations: 227.7 MB / 247.7 MB, free: 10.31 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.001913/0.001913, allocations: 63.55 kB / 307.9 MB, free: 496 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1014, allocations: 50.55 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00531/0.1068, allocations: 3.756 MB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1088, allocations: 1.032 MB / 363.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1091, allocations: 7.938 kB / 363.2 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1095, allocations: 111 kB / 363.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1099, allocations: 202.3 kB / 363.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1102, allocations: 139.7 kB / 363.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.111, allocations: 0.6964 MB / 364.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003437/0.1114, allocations: 211 kB / 364.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.1117, allocations: 267 kB / 364.8 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.112, allocations: 310.6 kB / 365.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.1121, allocations: 60 kB / 365.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1122, allocations: 64 kB / 365.3 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1124, allocations: 127.6 kB / 365.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.1127, allocations: 322.4 kB / 365.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.1134, allocations: 0.7085 MB / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1134, allocations: 0 / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1135, allocations: 0 / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1135, allocations: 0 / 366.4 MB, free: 5.91 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001634/0.1151, allocations: 0.9131 MB / 367.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1152, allocations: 12.03 kB / 367.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1153, allocations: 64.19 kB / 367.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.116, allocations: 446.7 kB / 367.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.1162, allocations: 83.22 kB / 367.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.1163, allocations: 32.38 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.1173, allocations: 0.5138 MB / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1173, allocations: 0 / 368.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.1173, allocations: 20 kB / 368.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1174, allocations: 8 kB / 368.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.1183, allocations: 379.7 kB / 368.9 MB, free: 3.301 MB / 302.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.002384/0.1207, allocations: 1.351 MB / 370.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009885/0.1217, allocations: 474.9 kB / 370.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.1222, allocations: 204.8 kB / 370.9 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.1223, allocations: 4 kB / 370.9 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1223, allocations: 38.56 kB / 370.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.487e-06/0.1223, allocations: 0 / 370.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001899/0.1242, allocations: 0.7929 MB / 371.7 MB, free: 272 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.17/0.2943, allocations: 441 kB / 372.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.295, allocations: 479.6 kB / 372.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.2951, allocations: 35.98 kB / 372.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2953, allocations: 243.2 kB / 372.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.2955, allocations: 127.8 kB / 373 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2956, allocations: 83.8 kB / 373.1 MB, free: 19.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.2957, allocations: 358 kB / 373.4 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.2962, allocations: 159.7 kB / 373.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.2967, allocations: 306.4 kB / 373.9 MB, free: 19.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008916/0.2976, allocations: 375.7 kB / 374.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2976, allocations: 3 kB / 374.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001185/0.2988, allocations: 0.5065 MB / 374.8 MB, free: 19.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.2989, allocations: 35.69 kB / 374.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2989, allocations: 1.5 kB / 374.8 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2991, allocations: 54.14 kB / 374.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.2996, allocations: 97.23 kB / 374.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.3015, allocations: 2.961 MB / 377.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.302, allocations: 61.36 kB / 378 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3021, allocations: 16.52 kB / 378 MB, free: 16.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.3023, allocations: 170 kB / 378.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3024, allocations: 59.97 kB / 378.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.3025, allocations: 56.39 kB / 378.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3025, allocations: 3.656 kB / 378.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3025, allocations: 9.812 kB / 378.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.3035, allocations: 0.7619 MB / 379 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3053, allocations: 1.074 MB / 380.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3053, allocations: 1.984 kB / 380.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.3058, allocations: 97.45 kB / 380.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3058, allocations: 3.344 kB / 380.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.3058, allocations: 10.12 kB / 380.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3058, allocations: 1.969 kB / 380.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3058, allocations: 1.125 kB / 380.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.3072, allocations: 0.7148 MB / 380.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.3074, allocations: 171.8 kB / 381.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.3075, allocations: 8.703 kB / 381.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.3079, allocations: 31.39 kB / 381.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.308, allocations: 28.47 kB / 381.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.308, allocations: 11.77 kB / 381.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003997/0.3084, allocations: 345 kB / 381.5 MB, free: 14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3084, allocations: 0 / 381.5 MB, free: 14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.3089, allocations: 144.6 kB / 381.7 MB, free: 13.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.3091, allocations: 106.8 kB / 381.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.3105, allocations: 0.6974 MB / 382.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3105, allocations: 5.375 kB / 382.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.3109, allocations: 194.5 kB / 382.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007637/0.3117, allocations: 151.6 kB / 382.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.3134, allocations: 0.9848 MB / 383.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3137, allocations: 0.8298 MB / 384.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3138, allocations: 49.28 kB / 384.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3138, allocations: 0 / 384.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01421/0.3281, allocations: 9.17 MB / 393.8 MB, free: 8.684 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches