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.001557/0.001557, 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.001296/0.001296, 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 trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.91 kB / 307.6 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.094, allocations: 50.53 MB / 358.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00529/0.09933, allocations: 3.757 MB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1013, allocations: 1.032 MB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1015, allocations: 11.94 kB / 363 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1019, allocations: 107 kB / 363.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1023, allocations: 202.3 kB / 363.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1027, allocations: 131.8 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007907/0.1035, allocations: 0.7003 MB / 364.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.1038, allocations: 215 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.1041, allocations: 263 kB / 364.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.1045, allocations: 310.6 kB / 364.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.1046, allocations: 60 kB / 364.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1047, allocations: 64 kB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1049, allocations: 127.6 kB / 365.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.1052, allocations: 322.4 kB / 365.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.1059, allocations: 0.7085 MB / 366.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.106, allocations: 0 / 366.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.106, allocations: 0 / 366.1 MB, free: 6.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.106, allocations: 4 kB / 366.2 MB, free: 6.027 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.001617/0.1076, allocations: 0.9092 MB / 367.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1077, allocations: 11.97 kB / 367.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1078, allocations: 68.19 kB / 367.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.1085, allocations: 446.7 kB / 367.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.1087, allocations: 83.22 kB / 367.7 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.1088, allocations: 36.38 kB / 367.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.1098, allocations: 0.5138 MB / 368.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1098, allocations: 0 / 368.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.1098, allocations: 12 kB / 368.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1098, allocations: 8 kB / 368.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1109, allocations: 383.7 kB / 368.6 MB, free: 3.418 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.002215/0.1131, allocations: 1.358 MB / 370 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.1141, allocations: 466.2 kB / 370.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.1146, allocations: 204.8 kB / 370.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1147, allocations: 4 kB / 370.6 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1147, allocations: 38.56 kB / 370.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.1147, allocations: 3.938 kB / 370.7 MB, free: 1.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001859/0.1166, allocations: 0.7816 MB / 371.4 MB, free: 400 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1543/0.2709, allocations: 448.4 kB / 371.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.2717, allocations: 477.1 kB / 372.3 MB, free: 20.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.2718, allocations: 32.8 kB / 372.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.2721, allocations: 250.2 kB / 372.6 MB, free: 20.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.2722, allocations: 124.1 kB / 372.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.2725, allocations: 81.19 kB / 372.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2726, allocations: 361.9 kB / 373.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.2733, allocations: 157 kB / 373.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.274, allocations: 306 kB / 373.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2753, allocations: 378.7 kB / 374 MB, free: 19.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2753, allocations: 0.875 kB / 374 MB, free: 19.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001646/0.2769, allocations: 0.51 MB / 374.5 MB, free: 19.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.277, allocations: 35.67 kB / 374.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.277, allocations: 1.438 kB / 374.5 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.2772, allocations: 49.39 kB / 374.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.2779, allocations: 97.94 kB / 374.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.2806, allocations: 2.965 MB / 377.7 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/0.2814, allocations: 65.8 kB / 377.7 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.2814, allocations: 9.922 kB / 377.7 MB, free: 16.37 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.0002991/0.2817, allocations: 171 kB / 377.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2819, allocations: 59.03 kB / 378 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.282, allocations: 62.16 kB / 378 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.282, allocations: 6.75 kB / 378 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2821, allocations: 1.375 kB / 378 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/0.2836, allocations: 0.7696 MB / 378.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2864, allocations: 1.063 MB / 379.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2864, allocations: 1.406 kB / 379.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.2871, allocations: 101.3 kB / 380 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2872, allocations: 1.531 kB / 380 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.2872, allocations: 8.234 kB / 380 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.2872, allocations: 1.594 kB / 380 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2872, allocations: 0 / 380 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.2894, allocations: 0.7208 MB / 380.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.2898, allocations: 168.1 kB / 380.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.2899, allocations: 8.609 kB / 380.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.2905, allocations: 36.2 kB / 380.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2907, allocations: 27.95 kB / 380.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.2907, allocations: 11.2 kB / 380.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.2913, allocations: 339.6 kB / 381.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.2913, allocations: 0 / 381.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007536/0.2921, allocations: 143.6 kB / 381.4 MB, free: 14.19 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.0001733/0.2923, allocations: 109.7 kB / 381.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.2941, allocations: 0.7001 MB / 382.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2941, allocations: 0.875 kB / 382.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.2948, allocations: 194.7 kB / 382.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.2959, allocations: 152.2 kB / 382.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.298, allocations: 0.9998 MB / 383.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.2984, allocations: 0.8346 MB / 384.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.2986, allocations: 43.73 kB / 384.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2986, allocations: 1.438 kB / 384.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Templates: time 0.01908/0.3177, allocations: 9.171 MB / 393.6 MB, free: 8.859 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 -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.1.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