Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 97.05 kB / 16.95 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 177.8 kB / 17.84 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.000495, allocations: 8 kB / 280.8 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 47.59 MB / 328.4 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003588/0.1152, allocations: 3.227 MB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1168, allocations: 0.9323 MB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.117, allocations: 4 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.1172, allocations: 75.38 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1176, allocations: 174.6 kB / 332.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1178, allocations: 91.89 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007137/0.1185, allocations: 0.6301 MB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.1188, allocations: 170.8 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.119, allocations: 231.1 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.1193, allocations: 270.8 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.1194, allocations: 36 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.1195, allocations: 40 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1196, allocations: 107.6 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1197, allocations: 137.4 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.1205, allocations: 0.5141 MB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1205, allocations: 0 / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1205, allocations: 4 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1205, allocations: 0 / 335 MB, free: 13.43 MB / 286.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.001407/0.1219, allocations: 0.8352 MB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.122, allocations: 8.031 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1222, allocations: 67.25 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.1229, allocations: 429.9 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.1231, allocations: 90.66 kB / 336.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.1232, allocations: 43.89 kB / 336.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.1241, allocations: 0.5098 MB / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1241, allocations: 0 / 336.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1242, allocations: 20 kB / 337 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1242, allocations: 8 kB / 337 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009678/0.1251, allocations: 403.7 kB / 337.4 MB, free: 10.88 MB / 286.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.001988/0.1271, allocations: 1.355 MB / 338.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.1281, allocations: 488.2 kB / 339.2 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.1286, allocations: 216.8 kB / 339.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.1287, allocations: 4 kB / 339.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1287, allocations: 42.56 kB / 339.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.274e-06/0.1287, allocations: 3.938 kB / 339.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001903/0.1306, allocations: 0.8204 MB / 340.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.1309, allocations: 448.9 kB / 340.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.1314, allocations: 470.1 kB / 341.2 MB, free: 6.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.1315, allocations: 33.7 kB / 341.2 MB, free: 6.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.1317, allocations: 244.5 kB / 341.4 MB, free: 6.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1318, allocations: 134 kB / 341.6 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.1318, allocations: 4 kB / 341.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.132, allocations: 362.8 kB / 341.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.1324, allocations: 163.9 kB / 342.1 MB, free: 5.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.1331, allocations: 322.1 kB / 342.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.1336, allocations: 213.4 kB / 342.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1336, allocations: 0 / 342.6 MB, free: 5.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001158/0.1348, allocations: 0.5311 MB / 343.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.1349, allocations: 29.7 kB / 343.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1349, allocations: 0 / 343.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001635/0.135, allocations: 57.62 kB / 343.2 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.1355, allocations: 107.8 kB / 343.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.1382, allocations: 2.728 MB / 346.1 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.1386, allocations: 75.72 kB / 346.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1387, allocations: 8 kB / 346.1 MB, free: 1.418 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.139, allocations: 169.8 kB / 346.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.1391, allocations: 59.34 kB / 346.4 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1392, allocations: 61.11 kB / 346.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1392, allocations: 7.984 kB / 346.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1392, allocations: 0 / 346.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/0.1402, allocations: 0.7829 MB / 347.2 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.1421, allocations: 1.094 MB / 348.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1421, allocations: 0 / 348.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.1426, allocations: 107.9 kB / 348.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1426, allocations: 7.938 kB / 348.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1426, allocations: 4 kB / 348.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1426, allocations: 4 kB / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1427, allocations: 0 / 348.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.144, allocations: 0.7332 MB / 349.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.1443, allocations: 180.2 kB / 349.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.1443, allocations: 8 kB / 349.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.1447, allocations: 44.02 kB / 349.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.1448, allocations: 23.97 kB / 349.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.1448, allocations: 19.98 kB / 349.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.1455, allocations: 330.9 kB / 349.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1455, allocations: 0 / 349.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.146, allocations: 147.8 kB / 349.9 MB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.1462, allocations: 103.2 kB / 350 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.1478, allocations: 0.6924 MB / 350.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1479, allocations: 0 / 350.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.1483, allocations: 211.6 kB / 350.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.1493, allocations: 137.8 kB / 351 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.1521, allocations: 1.155 MB / 352.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/0.1529, allocations: 0.8353 MB / 353 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.1535, allocations: 68.47 kB / 353.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1536, allocations: 43.44 kB / 353.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1536, allocations: 4 kB / 353.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Templates: time 0.01643/0.1701, allocations: 7.958 MB / 361.1 MB, free: 2.141 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches