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.001102/0.001102, allocations: 97.56 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 192.6 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002003, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08048, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003347/0.08386, allocations: 3.177 MB / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.08537, allocations: 0.9039 MB / 362.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.08557, allocations: 7.938 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.08583, allocations: 83.42 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.0862, allocations: 166.6 kB / 362.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.08644, allocations: 95.89 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.08704, allocations: 0.6028 MB / 363.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.08728, allocations: 158 kB / 363.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.08758, allocations: 223.1 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.08787, allocations: 258.9 kB / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.08794, allocations: 36 kB / 364.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.08802, allocations: 40 kB / 364.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.08812, allocations: 95.59 kB / 364.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.08823, allocations: 133.4 kB / 364.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.08867, allocations: 0.5144 MB / 365.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.08869, allocations: 3.984 kB / 365.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.08869, allocations: 0 / 365.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.08871, allocations: 0 / 365.1 MB, free: 6.926 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.001302/0.09002, allocations: 0.8154 MB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.09006, allocations: 8.031 kB / 365.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.09017, allocations: 63.34 kB / 366 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.09077, allocations: 421.6 kB / 366.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.09098, allocations: 90.31 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.09104, allocations: 31.95 kB / 366.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.09191, allocations: 0.5008 MB / 367 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.09194, allocations: 0 / 367 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.09198, allocations: 16 kB / 367 MB, free: 4.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.092, allocations: 8 kB / 367 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.09288, allocations: 378.4 kB / 367.4 MB, free: 4.461 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.001848/0.09474, allocations: 1.294 MB / 368.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/0.09542, allocations: 408.6 kB / 369.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.09584, allocations: 196.8 kB / 369.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.09589, allocations: 15.92 kB / 369.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.09592, allocations: 46.55 kB / 369.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.412e-06/0.09593, allocations: 0 / 369.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001565/0.0975, allocations: 0.7822 MB / 370.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.09769, allocations: 449 kB / 370.6 MB, free: 1.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.09817, allocations: 461.8 kB / 371 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.09821, allocations: 33.7 kB / 371 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.09837, allocations: 240.4 kB / 371.3 MB, free: 276 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.09847, allocations: 122.3 kB / 371.4 MB, free: 152 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.09849, allocations: 4 kB / 371.4 MB, free: 148 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1463/0.2448, allocations: 362.7 kB / 371.8 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.2453, allocations: 158.6 kB / 371.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.2459, allocations: 300.7 kB / 372.2 MB, free: 18.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.2463, allocations: 212.9 kB / 372.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2463, allocations: 1.406 kB / 372.4 MB, free: 18.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001121/0.2474, allocations: 0.52 MB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.2475, allocations: 31.92 kB / 373 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2475, allocations: 1.031 kB / 373 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.2477, allocations: 47.91 kB / 373 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.2481, allocations: 96.73 kB / 373.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.2498, allocations: 2.751 MB / 375.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.2502, allocations: 63.36 kB / 375.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.2503, allocations: 12.97 kB / 375.9 MB, free: 16.02 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 (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.0002011/0.2505, allocations: 170.6 kB / 376.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.2506, allocations: 60.02 kB / 376.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2507, allocations: 53.86 kB / 376.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2507, allocations: 4.062 kB / 376.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2507, allocations: 3.078 kB / 376.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009678/0.2517, allocations: 0.7637 MB / 377 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.2533, allocations: 1.058 MB / 378 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2533, allocations: 0.75 kB / 378 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.2538, allocations: 102.9 kB / 378.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.2538, allocations: 1.562 kB / 378.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2538, allocations: 7.828 kB / 378.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2539, allocations: 2.094 kB / 378.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2539, allocations: 0 / 378.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.2551, allocations: 0.7229 MB / 378.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.2553, allocations: 170.3 kB / 379 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-05/0.2554, allocations: 8.781 kB / 379.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2558, allocations: 44.95 kB / 379.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.2558, allocations: 23.67 kB / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2559, allocations: 11.42 kB / 379.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003288/0.2562, allocations: 322.4 kB / 379.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2562, allocations: 0 / 379.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.2566, allocations: 139.4 kB / 379.6 MB, free: 14.32 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 (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 9.969e-05/0.2568, allocations: 109.4 kB / 379.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.2578, allocations: 0.683 MB / 380.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2578, allocations: 1.188 kB / 380.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.2583, allocations: 202.7 kB / 380.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.2589, allocations: 140.2 kB / 380.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2604, allocations: 1.115 MB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.2606, allocations: 0.8324 MB / 382.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.2609, allocations: 59.94 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.261, allocations: 45.88 kB / 382.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.261, allocations: 0 / 382.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Templates: time 0.01276/0.2738, allocations: 7.834 MB / 390.6 MB, free: 10.07 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches