Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 50.55 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006173/0.2774, allocations: 3.512 MB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2798, allocations: 0.9735 MB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.2802, allocations: 8 kB / 414.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.2807, allocations: 103.1 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005979/0.2813, allocations: 186.3 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.2818, allocations: 123.8 kB / 414.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000981/0.2828, allocations: 0.6376 MB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004296/0.2832, allocations: 202.5 kB / 415.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.2836, allocations: 243.1 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.2841, allocations: 278.8 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2842, allocations: 52 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2844, allocations: 56 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.2845, allocations: 111.6 kB / 416.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.2849, allocations: 298.6 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.2857, allocations: 0.6359 MB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2858, allocations: 4 kB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2858, allocations: 0 / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.2858, allocations: 4 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001886/0.2877, allocations: 0.8389 MB / 418.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.2878, allocations: 8.031 kB / 418.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.288, allocations: 68.27 kB / 418.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.2888, allocations: 394.6 kB / 418.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.289, allocations: 58.92 kB / 418.7 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.2891, allocations: 28.38 kB / 418.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2901, allocations: 461.1 kB / 419.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2901, allocations: 4 kB / 419.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.2902, allocations: 16 kB / 419.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.2902, allocations: 8 kB / 419.2 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.2911, allocations: 278.5 kB / 419.4 MB, free: 7.844 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.002969/0.2941, allocations: 1.29 MB / 420.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.2957, allocations: 436.5 kB / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.2961, allocations: 148.8 kB / 421.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.2962, allocations: 4 kB / 421.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.2962, allocations: 42.5 kB / 421.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.2962, allocations: 0 / 421.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001698/0.298, allocations: 0.6068 MB / 422 MB, free: 5.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002315/0.2982, allocations: 445 kB / 422.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.299, allocations: 453.8 kB / 422.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.299, allocations: 37.7 kB / 422.9 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.2993, allocations: 228.5 kB / 423.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.2994, allocations: 114.4 kB / 423.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2996, allocations: 77.94 kB / 423.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2998, allocations: 354.8 kB / 423.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.3002, allocations: 104.6 kB / 423.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.3007, allocations: 260 kB / 424 MB, free: 2.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.3015, allocations: 277.2 kB / 424.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3015, allocations: 0 / 424.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001132/0.3026, allocations: 420.4 kB / 424.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.3027, allocations: 33.64 kB / 424.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3027, allocations: 0 / 424.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.3029, allocations: 53.69 kB / 424.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.3034, allocations: 63.91 kB / 424.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.3068, allocations: 2.972 MB / 427.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.3075, allocations: 43.72 kB / 427.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.3075, allocations: 12 kB / 427.8 MB, free: 14.73 MB / 350.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 (36): * Single equations (assignments): 33 * 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.0003013/0.3078, allocations: 165.8 kB / 428 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.308, allocations: 47.44 kB / 428 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3081, allocations: 52.69 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3081, allocations: 4 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3081, allocations: 3.938 kB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009737/0.3091, allocations: 0.6453 MB / 428.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.311, allocations: 0.9009 MB / 429.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.311, allocations: 3.938 kB / 429.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.3116, allocations: 71.89 kB / 429.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.3116, allocations: 4 kB / 429.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.3116, allocations: 4 kB / 429.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3116, allocations: 4 kB / 429.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3117, allocations: 7.938 kB / 429.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3129, allocations: 0.5125 MB / 430.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.3132, allocations: 164.4 kB / 430.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.3133, allocations: 11.94 kB / 430.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.3138, allocations: 15.98 kB / 430.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3139, allocations: 16.05 kB / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.3139, allocations: 12 kB / 430.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005093/0.3144, allocations: 323.1 kB / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3144, allocations: 0 / 430.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007519/0.3152, allocations: 131.8 kB / 430.9 MB, free: 11.45 MB / 350.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 (32): * Single equations (assignments): 32 * 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.0001683/0.3154, allocations: 107.2 kB / 431 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3167, allocations: 0.5633 MB / 431.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3167, allocations: 4 kB / 431.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.3171, allocations: 123.8 kB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3181, allocations: 138 kB / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3203, allocations: 0.9026 MB / 432.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.3208, allocations: 0.8198 MB / 433.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.321, allocations: 47.42 kB / 433.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.321, allocations: 3.938 kB / 433.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of Templates: time 0.01667/0.3377, allocations: 8.34 MB / 442 MB, free: 372 kB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches