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.001236/0.001236, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001146, allocations: 56.28 kB / 306.9 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09472, allocations: 50.53 MB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004845/0.09962, allocations: 3.543 MB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1018, allocations: 0.9814 MB / 361.9 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.1023, allocations: 11.94 kB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.1029, allocations: 91.44 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.1036, allocations: 158.7 kB / 362.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.104, allocations: 103.8 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.105, allocations: 0.6107 MB / 362.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.1053, allocations: 175.2 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.1057, allocations: 223.1 kB / 363.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.1062, allocations: 262.9 kB / 363.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1063, allocations: 40 kB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.1065, allocations: 36 kB / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1066, allocations: 107.5 kB / 363.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.107, allocations: 278.7 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1075, allocations: 490.8 kB / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1075, allocations: 0 / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1075, allocations: 4 kB / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.563e-05/0.1076, allocations: 0 / 364.5 MB, free: 7.414 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001685/0.1092, allocations: 0.8389 MB / 365.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1093, allocations: 8.031 kB / 365.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1095, allocations: 60.28 kB / 365.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1101, allocations: 398.6 kB / 365.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1102, allocations: 54.92 kB / 365.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.1103, allocations: 40.31 kB / 365.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.111, allocations: 453.1 kB / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.111, allocations: 0 / 366.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/0.1111, allocations: 20 kB / 366.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1111, allocations: 8 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.1117, allocations: 286.4 kB / 366.6 MB, free: 5.121 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.00225/0.114, allocations: 1.294 MB / 367.9 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.1151, allocations: 440.4 kB / 368.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.1154, allocations: 132.8 kB / 368.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.1155, allocations: 11.97 kB / 368.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1155, allocations: 50.55 kB / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/0.1155, allocations: 0 / 368.6 MB, free: 3.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001233/0.1168, allocations: 0.5881 MB / 369.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.117, allocations: 452.9 kB / 369.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.1176, allocations: 457.9 kB / 370 MB, free: 1.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.1176, allocations: 33.7 kB / 370.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1178, allocations: 228.5 kB / 370.3 MB, free: 1.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1179, allocations: 106.3 kB / 370.4 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1181, allocations: 78.02 kB / 370.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1183, allocations: 354.8 kB / 370.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1185, allocations: 104.6 kB / 370.9 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.1189, allocations: 258.3 kB / 371.2 MB, free: 224 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1681/0.287, allocations: 276.4 kB / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.287, allocations: 0 / 371.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001005/0.288, allocations: 415.9 kB / 371.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2881, allocations: 35.12 kB / 371.9 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2881, allocations: 1.656 kB / 371.9 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.2883, allocations: 54.38 kB / 371.9 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2887, allocations: 62.89 kB / 372 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.2906, allocations: 2.757 MB / 374.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2911, allocations: 45 kB / 374.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.2911, allocations: 16.17 kB / 374.8 MB, free: 17.3 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 (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.000225/0.2914, allocations: 169.8 kB / 375 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.2915, allocations: 56.56 kB / 375 MB, free: 17.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.95e-05/0.2916, allocations: 52.02 kB / 375.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.2916, allocations: 3.281 kB / 375.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2916, allocations: 0.5312 kB / 375.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006244/0.2922, allocations: 0.65 MB / 375.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.2935, allocations: 0.9024 MB / 376.6 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2936, allocations: 0 / 376.6 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.2939, allocations: 67.75 kB / 376.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.294, allocations: 1.5 kB / 376.7 MB, free: 16.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.294, allocations: 10.89 kB / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.294, allocations: 1.953 kB / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.294, allocations: 0 / 376.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.2951, allocations: 0.525 MB / 377.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2953, allocations: 162 kB / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.2954, allocations: 12.17 kB / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.2957, allocations: 20.78 kB / 377.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.2958, allocations: 19.69 kB / 377.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2958, allocations: 6.5 kB / 377.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00055/0.2964, allocations: 321.8 kB / 377.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2964, allocations: 1.375 kB / 377.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006911/0.2971, allocations: 135.6 kB / 377.9 MB, free: 15.58 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 (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.0001519/0.2973, allocations: 111.4 kB / 378 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.2985, allocations: 0.5499 MB / 378.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2985, allocations: 5.281 kB / 378.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.2988, allocations: 130.5 kB / 378.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.2995, allocations: 123.1 kB / 378.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.301, allocations: 1.048 MB / 379.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3013, allocations: 0.8153 MB / 380.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3015, allocations: 45.42 kB / 380.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3015, allocations: 0 / 380.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Templates: time 0.01331/0.3148, allocations: 8.235 MB / 389 MB, free: 11.23 MB / 302.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