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.001001/0.001001, allocations: 97.11 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002198/0.0002198, allocations: 4 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08531, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003394/0.08873, allocations: 3.404 MB / 362.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.09016, allocations: 0.962 MB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.09033, allocations: 7.938 kB / 363.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.0906, allocations: 91.38 kB / 363.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.09096, allocations: 178.6 kB / 363.9 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.0912, allocations: 115.9 kB / 364 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.09181, allocations: 0.6652 MB / 364.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.09209, allocations: 195.8 kB / 364.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.09233, allocations: 235 kB / 365.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.09263, allocations: 274.7 kB / 365.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.0927, allocations: 39.94 kB / 365.4 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.09279, allocations: 40 kB / 365.4 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.09288, allocations: 111.5 kB / 365.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.09315, allocations: 316.2 kB / 365.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.0937, allocations: 0.6693 MB / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09371, allocations: 0 / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09371, allocations: 0 / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.09373, allocations: 4 kB / 366.5 MB, free: 5.961 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.001295/0.09503, allocations: 0.8314 MB / 367.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09507, allocations: 11.97 kB / 367.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.09519, allocations: 68.19 kB / 367.5 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.09581, allocations: 458.7 kB / 367.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.09604, allocations: 87.23 kB / 368 MB, free: 4.414 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.09611, allocations: 28.38 kB / 368 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.09703, allocations: 0.5256 MB / 368.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.09705, allocations: 0 / 368.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.0971, allocations: 16 kB / 368.6 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.09712, allocations: 8 kB / 368.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009691/0.09809, allocations: 399.7 kB / 369 MB, free: 3.391 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.001971/0.1001, allocations: 1.359 MB / 370.3 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009463/0.101, allocations: 490.6 kB / 370.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004771/0.1015, allocations: 216.7 kB / 371 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1016, allocations: 12 kB / 371 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1016, allocations: 39.12 kB / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.924e-06/0.1016, allocations: 0 / 371 MB, free: 1.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001779/0.1034, allocations: 0.8171 MB / 371.9 MB, free: 296 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1539/0.2573, allocations: 443 kB / 372.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.258, allocations: 479.8 kB / 372.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.626e-05/0.2581, allocations: 34.02 kB / 372.8 MB, free: 19.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2583, allocations: 242.1 kB / 373 MB, free: 19.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-05/0.2584, allocations: 126.3 kB / 373.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.2584, allocations: 35.31 kB / 373.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.2585, allocations: 360.9 kB / 373.5 MB, free: 18.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.259, allocations: 168.3 kB / 373.7 MB, free: 18.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.2595, allocations: 320 kB / 374 MB, free: 18.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.2605, allocations: 394.4 kB / 374.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2605, allocations: 0 / 374.4 MB, free: 18.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001319/0.2618, allocations: 0.5349 MB / 374.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.2619, allocations: 35.89 kB / 375 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2619, allocations: 1.25 kB / 375 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2621, allocations: 56.3 kB / 375 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.2626, allocations: 100.9 kB / 375.1 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.2646, allocations: 2.734 MB / 377.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.2651, allocations: 74.53 kB / 377.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.2652, allocations: 11.11 kB / 378 MB, free: 15.81 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.0002184/0.2654, allocations: 180.6 kB / 378.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.2655, allocations: 55.5 kB / 378.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.2656, allocations: 61.8 kB / 378.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2656, allocations: 4.125 kB / 378.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2656, allocations: 3.328 kB / 378.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.2666, allocations: 0.7836 MB / 379 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.2684, allocations: 1.095 MB / 380.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2684, allocations: 1.344 kB / 380.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.2689, allocations: 108.5 kB / 380.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.2689, allocations: 1.438 kB / 380.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.2689, allocations: 10.11 kB / 380.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2689, allocations: 2.078 kB / 380.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.269, allocations: 1.438 kB / 380.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2704, allocations: 0.7407 MB / 381 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2706, allocations: 172.8 kB / 381.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.2707, allocations: 18.31 kB / 381.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.2711, allocations: 40.38 kB / 381.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.2712, allocations: 29.02 kB / 381.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.2712, allocations: 11.45 kB / 381.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.2716, allocations: 337.4 kB / 381.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2716, allocations: 0 / 381.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.2721, allocations: 139.7 kB / 381.7 MB, free: 13.65 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.0001121/0.2722, allocations: 110.7 kB / 381.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.2734, allocations: 0.6934 MB / 382.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2734, allocations: 1.438 kB / 382.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.2739, allocations: 212.5 kB / 382.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.2746, allocations: 138.2 kB / 382.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.2762, allocations: 1.205 MB / 384.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2764, allocations: 0.8399 MB / 384.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002881/0.2767, allocations: 61.66 kB / 385 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2768, allocations: 41.53 kB / 385 MB, free: 11.56 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2769, allocations: 4 kB / 385 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Templates: time 0.01323/0.2901, allocations: 8.307 MB / 393.3 MB, free: 8.891 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches