Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 64.48 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.08586, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004532/0.09042, allocations: 3.666 MB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.09216, allocations: 1.02 MB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.09239, allocations: 7.938 kB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.09274, allocations: 107.1 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.09316, allocations: 198.3 kB / 363.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.09345, allocations: 127.8 kB / 364 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.09419, allocations: 0.6885 MB / 364.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.09449, allocations: 194.2 kB / 364.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.09477, allocations: 255.1 kB / 365.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.0951, allocations: 298.7 kB / 365.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-05/0.09518, allocations: 63.94 kB / 365.5 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.09527, allocations: 56 kB / 365.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.09538, allocations: 119.6 kB / 365.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.09565, allocations: 310.5 kB / 366 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.09627, allocations: 0.7007 MB / 366.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09628, allocations: 0 / 366.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09629, allocations: 4 kB / 366.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.09631, allocations: 0 / 366.7 MB, free: 5.5 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001492/0.0978, allocations: 0.8972 MB / 367.6 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.09786, allocations: 12.03 kB / 367.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.09798, allocations: 64.19 kB / 367.6 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.0987, allocations: 430.5 kB / 368.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.0988, allocations: 58.92 kB / 368.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/0.09886, allocations: 32.38 kB / 368.2 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.09967, allocations: 489 kB / 368.6 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.0997, allocations: 3.984 kB / 368.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.09974, allocations: 16 kB / 368.6 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.09976, allocations: 8 kB / 368.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.1006, allocations: 342.4 kB / 369 MB, free: 3.027 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.001983/0.1026, allocations: 1.275 MB / 370.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.1032, allocations: 376.6 kB / 370.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.1036, allocations: 184.7 kB / 370.8 MB, free: 1.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.1037, allocations: 4 kB / 370.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1037, allocations: 46.5 kB / 370.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.1037, allocations: 0 / 370.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00155/0.1053, allocations: 0.7206 MB / 371.6 MB, free: 260 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.148/0.2533, allocations: 446.1 kB / 372 MB, free: 20.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.2539, allocations: 454.3 kB / 372.5 MB, free: 20 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.254, allocations: 32.98 kB / 372.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2542, allocations: 239.4 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.2543, allocations: 128.7 kB / 372.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.2544, allocations: 77.56 kB / 372.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.2545, allocations: 359 kB / 373.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.2549, allocations: 138.2 kB / 373.4 MB, free: 19.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.2553, allocations: 284.1 kB / 373.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.256, allocations: 335.8 kB / 374 MB, free: 19.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.256, allocations: 2.562 kB / 374 MB, free: 19.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009343/0.257, allocations: 485.9 kB / 374.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.257, allocations: 31.97 kB / 374.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.257, allocations: 0.5625 kB / 374.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.2572, allocations: 59.56 kB / 374.6 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.2576, allocations: 79.61 kB / 374.7 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.2594, allocations: 2.974 MB / 377.6 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.2598, allocations: 53.73 kB / 377.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.2598, allocations: 14.89 kB / 377.7 MB, free: 16.15 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 (37): * Single equations (assignments): 34 * 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.0001813/0.26, allocations: 165.1 kB / 377.9 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.2601, allocations: 58.98 kB / 377.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2602, allocations: 55.11 kB / 378 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2602, allocations: 3.844 kB / 378 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2602, allocations: 1.219 kB / 378 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007733/0.261, allocations: 0.72 MB / 378.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.2625, allocations: 1.015 MB / 379.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2625, allocations: 0 / 379.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/0.2629, allocations: 90.22 kB / 379.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.263, allocations: 2.125 kB / 379.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.263, allocations: 11.19 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.263, allocations: 1.281 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.263, allocations: 4.391 kB / 379.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.2641, allocations: 0.6549 MB / 380.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.2643, allocations: 166.7 kB / 380.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.2644, allocations: 9.484 kB / 380.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.2647, allocations: 29.44 kB / 380.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.2648, allocations: 29.88 kB / 380.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.2648, allocations: 7.391 kB / 380.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003227/0.2652, allocations: 327.4 kB / 381 MB, free: 14.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2652, allocations: 1.531 kB / 381 MB, free: 14.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004776/0.2657, allocations: 138.1 kB / 381.2 MB, free: 14.04 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 (35): * Single equations (assignments): 35 * 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.0001316/0.2658, allocations: 109.1 kB / 381.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.2669, allocations: 0.6362 MB / 381.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2669, allocations: 1.406 kB / 381.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.2673, allocations: 175.6 kB / 382.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.2679, allocations: 141.2 kB / 382.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2695, allocations: 0.9222 MB / 383.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2699, allocations: 0.8289 MB / 384 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.2702, allocations: 66.02 kB / 384 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2703, allocations: 41 kB / 384.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2703, allocations: 0 / 384.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01506/0.2853, allocations: 8.864 MB / 392.9 MB, free: 9.445 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches