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.001562/0.001562, allocations: 111.2 kB / 17.74 MB, free: 5.336 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.001846/0.001846, allocations: 188.2 kB / 18.67 MB, free: 4.41 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.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 43.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2709, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004267/0.2752, allocations: 3.669 MB / 405.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2767, allocations: 0.9735 MB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.2769, allocations: 7.938 kB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.2772, allocations: 103.1 kB / 406.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.2776, allocations: 202.3 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2778, allocations: 127.8 kB / 406.5 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.2785, allocations: 0.6834 MB / 407.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.2788, allocations: 190.2 kB / 407.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.279, allocations: 259.1 kB / 407.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.2793, allocations: 298.7 kB / 407.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.892e-05/0.2794, allocations: 60 kB / 407.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.2795, allocations: 56 kB / 408 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2796, allocations: 123.6 kB / 408.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2799, allocations: 310.5 kB / 408.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.2805, allocations: 0.6978 MB / 409.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2805, allocations: 0 / 409.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2805, allocations: 0 / 409.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2805, allocations: 0 / 409.1 MB, free: 1.121 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.001412/0.282, allocations: 0.9011 MB / 410 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.282, allocations: 12.03 kB / 410 MB, free: 156 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2821, allocations: 64.19 kB / 410.1 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.2828, allocations: 434.5 kB / 410.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/0.2829, allocations: 58.92 kB / 410.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.2829, allocations: 28.38 kB / 410.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.2837, allocations: 489 kB / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2837, allocations: 0 / 411.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.2838, allocations: 20 kB / 411.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2838, allocations: 8 kB / 411.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.2845, allocations: 334.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.001822/0.2864, allocations: 1.286 MB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.287, allocations: 371.5 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.2874, allocations: 188.8 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.2874, allocations: 12.52 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2875, allocations: 38.56 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.2875, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001483/0.289, allocations: 0.7231 MB / 414 MB, free: 11.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/0.2892, allocations: 445 kB / 414.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.2896, allocations: 454 kB / 414.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2897, allocations: 41.64 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2899, allocations: 248.3 kB / 415.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.29, allocations: 118.2 kB / 415.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2901, allocations: 73.69 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2902, allocations: 362.7 kB / 415.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.2906, allocations: 131.9 kB / 415.9 MB, free: 9.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.291, allocations: 290.6 kB / 416.2 MB, free: 9.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.2917, allocations: 341 kB / 416.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2917, allocations: 0 / 416.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008923/0.2926, allocations: 485.8 kB / 417 MB, free: 8.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.2927, allocations: 33.69 kB / 417 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2927, allocations: 4 kB / 417 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.2928, allocations: 45.7 kB / 417 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.2933, allocations: 87.91 kB / 417.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.2955, allocations: 2.954 MB / 420.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.2959, allocations: 55.69 kB / 420.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.296, allocations: 11.94 kB / 420.2 MB, free: 5.227 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.0001963/0.2962, allocations: 173.7 kB / 420.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.2963, allocations: 51.44 kB / 420.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/0.2964, allocations: 60.75 kB / 420.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2964, allocations: 4 kB / 420.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2964, allocations: 0 / 420.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008835/0.2973, allocations: 0.7308 MB / 421.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.2988, allocations: 1.013 MB / 422.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2988, allocations: 0 / 422.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2992, allocations: 87.88 kB / 422.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2992, allocations: 4 kB / 422.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.2993, allocations: 15.92 kB / 422.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2993, allocations: 0 / 422.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2993, allocations: 4 kB / 422.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3005, allocations: 0.6451 MB / 422.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.3007, allocations: 168.5 kB / 423.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.3008, allocations: 11.94 kB / 423.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3011, allocations: 27.97 kB / 423.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.3012, allocations: 23.97 kB / 423.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3012, allocations: 11.94 kB / 423.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.3016, allocations: 327.2 kB / 423.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3016, allocations: 7.938 kB / 423.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.302, allocations: 131.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.0001271/0.3022, allocations: 107.7 kB / 423.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3033, allocations: 0.6448 MB / 424.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3033, allocations: 0 / 424.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.3037, allocations: 175.8 kB / 424.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.3043, allocations: 146 kB / 424.7 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3059, allocations: 0.9396 MB / 425.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3063, allocations: 0.8272 MB / 426.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3064, allocations: 51.42 kB / 426.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3064, allocations: 0 / 426.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Templates: time 0.01139/0.3178, allocations: 8.97 MB / 435.5 MB, free: 5.633 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