Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 112.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 187.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009912/0.0009912, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2347, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004499/0.2392, allocations: 3.675 MB / 405.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2413, allocations: 0.9695 MB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.2416, allocations: 11.94 kB / 406 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.242, allocations: 107.1 kB / 406.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.2423, allocations: 198.3 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.2427, allocations: 127.8 kB / 406.5 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.2433, allocations: 0.6796 MB / 407.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2436, allocations: 198.2 kB / 407.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.2439, allocations: 255 kB / 407.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.2442, allocations: 294.8 kB / 407.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.2443, allocations: 56 kB / 407.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2444, allocations: 60 kB / 408 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2445, allocations: 123.5 kB / 408.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.2448, allocations: 314.6 kB / 408.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.2454, allocations: 0.694 MB / 409.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2454, allocations: 4 kB / 409.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2454, allocations: 4 kB / 409.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2454, allocations: 0 / 409.1 MB, free: 1.113 MB / 318.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.00138/0.2468, allocations: 0.8933 MB / 410 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2469, allocations: 8.031 kB / 410 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.247, allocations: 68.19 kB / 410.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.2477, allocations: 434.5 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.2478, allocations: 54.91 kB / 410.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.2479, allocations: 36.38 kB / 410.6 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.2487, allocations: 489 kB / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2487, allocations: 0 / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.2487, allocations: 12 kB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2488, allocations: 8 kB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.2496, allocations: 338.4 kB / 411.4 MB, free: 14.65 MB / 334.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.00189/0.2514, allocations: 1.283 MB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.2521, allocations: 379.4 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.2525, allocations: 184.8 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2526, allocations: 4.594 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2526, allocations: 46.55 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.2526, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001587/0.2542, allocations: 0.7192 MB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00019/0.2544, allocations: 444.9 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.255, allocations: 461.9 kB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.255, allocations: 33.7 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2552, allocations: 244.4 kB / 415.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/0.2553, allocations: 118.2 kB / 415.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2554, allocations: 81.69 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2556, allocations: 362.7 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.256, allocations: 139.9 kB / 415.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.2565, allocations: 274.6 kB / 416.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.2572, allocations: 349 kB / 416.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2572, allocations: 0 / 416.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009995/0.2582, allocations: 489.8 kB / 417 MB, free: 8.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.2583, allocations: 29.7 kB / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2583, allocations: 0 / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.2585, allocations: 49.7 kB / 417 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.2589, allocations: 83.88 kB / 417.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.2614, allocations: 2.962 MB / 420.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.2618, allocations: 55.7 kB / 420.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.2618, allocations: 15.94 kB / 420.2 MB, free: 5.219 MB / 334.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.0002199/0.2621, allocations: 173.7 kB / 420.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.2622, allocations: 51.44 kB / 420.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2623, allocations: 52.75 kB / 420.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2623, allocations: 4 kB / 420.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.2623, allocations: 0 / 420.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009522/0.2632, allocations: 0.7271 MB / 421.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.2648, allocations: 1.013 MB / 422.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2648, allocations: 3.984 kB / 422.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.2652, allocations: 87.88 kB / 422.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2653, allocations: 0 / 422.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2653, allocations: 11.94 kB / 422.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2653, allocations: 0 / 422.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2653, allocations: 80 / 422.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2665, allocations: 0.6529 MB / 422.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.2667, allocations: 164.5 kB / 423.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.2668, allocations: 16 kB / 423.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2672, allocations: 35.91 kB / 423.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.2673, allocations: 31.84 kB / 423.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2673, allocations: 7.984 kB / 423.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.2676, allocations: 323.1 kB / 423.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2676, allocations: 0 / 423.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.2681, allocations: 135.8 kB / 423.6 MB, free: 1.539 MB / 334.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.0001472/0.2682, allocations: 123.6 kB / 423.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.2694, allocations: 0.6292 MB / 424.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2695, allocations: 0 / 424.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.2699, allocations: 179.8 kB / 424.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.2705, allocations: 145.8 kB / 424.7 MB, free: 432 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.2722, allocations: 0.9393 MB / 425.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.2726, allocations: 0.8311 MB / 426.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2727, allocations: 43.44 kB / 426.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2727, allocations: 0 / 426.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Templates: time 0.01129/0.284, allocations: 8.917 MB / 435.4 MB, free: 5.695 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches