Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 60.47 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09883, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005437/0.1043, allocations: 3.751 MB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1067, allocations: 1.032 MB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.1071, allocations: 8 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1075, allocations: 111 kB / 363.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1081, allocations: 202.3 kB / 364 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1085, allocations: 139.8 kB / 364.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009546/0.1094, allocations: 0.7075 MB / 364.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.1098, allocations: 210.7 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.1103, allocations: 267 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.1107, allocations: 306.6 kB / 365.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.1108, allocations: 63.98 kB / 365.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1109, allocations: 60 kB / 365.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.111, allocations: 131.5 kB / 365.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1114, allocations: 322.5 kB / 366.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.112, allocations: 0.7124 MB / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.112, allocations: 0 / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1121, allocations: 0 / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.1121, allocations: 4 kB / 366.9 MB, free: 5.316 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.001649/0.1137, allocations: 0.9131 MB / 367.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1138, allocations: 12.03 kB / 367.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1139, allocations: 72.19 kB / 367.9 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006979/0.1146, allocations: 446.7 kB / 368.3 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.23e-05/0.1147, allocations: 63.23 kB / 368.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.1148, allocations: 36.38 kB / 368.4 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.1156, allocations: 0.5021 MB / 368.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1156, allocations: 0 / 368.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1157, allocations: 16 kB / 368.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1157, allocations: 8 kB / 368.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.1165, allocations: 355.8 kB / 369.3 MB, free: 2.754 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.001966/0.1184, allocations: 1.339 MB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.1193, allocations: 456.7 kB / 371.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.1197, allocations: 196.8 kB / 371.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.1197, allocations: 7.984 kB / 371.3 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1198, allocations: 42.5 kB / 371.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.1198, allocations: 0 / 371.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.1512/0.271, allocations: 0.7316 MB / 372 MB, free: 20.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.2712, allocations: 447.5 kB / 372.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.2719, allocations: 478.5 kB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.272, allocations: 37.52 kB / 373 MB, free: 19.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2721, allocations: 243.8 kB / 373.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2723, allocations: 131 kB / 373.4 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2724, allocations: 81.08 kB / 373.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.2725, allocations: 359.1 kB / 373.8 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.273, allocations: 142.7 kB / 373.9 MB, free: 19.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.2735, allocations: 292.7 kB / 374.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.2743, allocations: 354.5 kB / 374.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2743, allocations: 0 / 374.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.2754, allocations: 499.7 kB / 375 MB, free: 18.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.2754, allocations: 35.78 kB / 375.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2755, allocations: 1.844 kB / 375.1 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.2756, allocations: 51.41 kB / 375.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000459/0.2761, allocations: 87.98 kB / 375.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.2781, allocations: 2.961 MB / 378.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.2785, allocations: 54.56 kB / 378.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2786, allocations: 11.22 kB / 378.2 MB, free: 15.78 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.0001859/0.2788, allocations: 174.6 kB / 378.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.2789, allocations: 66.47 kB / 378.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.986e-05/0.279, allocations: 53.91 kB / 378.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.279, allocations: 4.219 kB / 378.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.279, allocations: 0 / 378.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008522/0.2799, allocations: 0.7363 MB / 379.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.2815, allocations: 1.057 MB / 380.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2815, allocations: 0.7969 kB / 380.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/0.2819, allocations: 92.75 kB / 380.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.282, allocations: 1.5 kB / 380.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.282, allocations: 8.594 kB / 380.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.282, allocations: 7 kB / 380.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.282, allocations: 1.859 kB / 380.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2832, allocations: 0.6765 MB / 381.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2833, allocations: 165.2 kB / 381.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.2834, allocations: 11.41 kB / 381.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.2838, allocations: 26 kB / 381.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.2839, allocations: 23.66 kB / 381.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.2839, allocations: 11.05 kB / 381.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003384/0.2842, allocations: 342.2 kB / 381.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2842, allocations: 0 / 381.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.2847, allocations: 146.1 kB / 381.8 MB, free: 13.62 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.0001073/0.2848, allocations: 111 kB / 381.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.2859, allocations: 0.6511 MB / 382.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2859, allocations: 1.406 kB / 382.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.2863, allocations: 183.2 kB / 382.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.2869, allocations: 144.5 kB / 382.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2883, allocations: 0.953 MB / 383.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.2886, allocations: 0.8349 MB / 384.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.2889, allocations: 67.62 kB / 384.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.289, allocations: 46.33 kB / 384.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.289, allocations: 0 / 384.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01433/0.3033, allocations: 8.997 MB / 393.8 MB, free: 8.855 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches