Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 109.9 kB / 17.16 MB, free: 6.082 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.001225/0.001226, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 47.2 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08822, allocations: 49.44 MB / 350 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004365/0.09262, allocations: 3.526 MB / 353.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.09424, allocations: 0.9502 MB / 354.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.09455, allocations: 8 kB / 354.5 MB, free: 364 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.09489, allocations: 83.44 kB / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.09535, allocations: 162.7 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.09564, allocations: 107.9 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.09635, allocations: 0.6129 MB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.09662, allocations: 179.2 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.09691, allocations: 223.1 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.09723, allocations: 266.8 kB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.09732, allocations: 40 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.09743, allocations: 36 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.09754, allocations: 107.6 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.09782, allocations: 278.6 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.09821, allocations: 486.8 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.09822, allocations: 4 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09823, allocations: 0 / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.09825, allocations: 0 / 357.1 MB, free: 13.8 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.00142/0.09968, allocations: 0.8428 MB / 357.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.09972, allocations: 8.031 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.09986, allocations: 64.28 kB / 358 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.1004, allocations: 398.6 kB / 358.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.1005, allocations: 50.92 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.1005, allocations: 36.38 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.1012, allocations: 461 kB / 358.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1012, allocations: 4 kB / 358.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.1013, allocations: 16 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1013, allocations: 8 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005424/0.1019, allocations: 282.5 kB / 359.2 MB, free: 11.5 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.001927/0.1038, allocations: 1.29 MB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1049, allocations: 439.6 kB / 360.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1052, allocations: 136.8 kB / 361.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.1052, allocations: 15.98 kB / 361.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1053, allocations: 42.5 kB / 361.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.1053, allocations: 4 kB / 361.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001077/0.1064, allocations: 0.592 MB / 361.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.1065, allocations: 453 kB / 362.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004659/0.107, allocations: 453.9 kB / 362.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.107, allocations: 37.64 kB / 362.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1072, allocations: 228.5 kB / 362.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.1073, allocations: 114.2 kB / 363 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1074, allocations: 74.03 kB / 363 MB, free: 7.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1076, allocations: 358.8 kB / 363.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1078, allocations: 100.6 kB / 363.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.1082, allocations: 256.1 kB / 363.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.1086, allocations: 284.8 kB / 364 MB, free: 6.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1087, allocations: 0 / 364 MB, free: 6.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006925/0.1094, allocations: 412.4 kB / 364.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.1094, allocations: 29.7 kB / 364.5 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1094, allocations: 4 kB / 364.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.1096, allocations: 57.66 kB / 364.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1099, allocations: 63.91 kB / 364.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.112, allocations: 2.752 MB / 367.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.1124, allocations: 43.81 kB / 367.4 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1124, allocations: 12 kB / 367.4 MB, free: 2.641 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.0001829/0.1126, allocations: 176.5 kB / 367.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.1127, allocations: 47.44 kB / 367.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-05/0.1128, allocations: 52.7 kB / 367.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1128, allocations: 4.234 kB / 367.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1128, allocations: 4 kB / 367.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006153/0.1135, allocations: 0.6531 MB / 368.3 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1147, allocations: 0.899 MB / 369.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1147, allocations: 0 / 369.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.115, allocations: 68.05 kB / 369.3 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.115, allocations: 3.938 kB / 369.3 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.1151, allocations: 8 kB / 369.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1151, allocations: 0 / 369.3 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1151, allocations: 7.922 kB / 369.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.1158, allocations: 0.5158 MB / 369.8 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1532/0.2691, allocations: 160.2 kB / 370 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.2692, allocations: 10.22 kB / 370 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.2696, allocations: 16.86 kB / 370 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.2696, allocations: 27.92 kB / 370 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2697, allocations: 10.38 kB / 370 MB, free: 25.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004254/0.2701, allocations: 319.2 kB / 370.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2701, allocations: 0 / 370.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.2707, allocations: 129.3 kB / 370.5 MB, free: 25.55 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.0001317/0.2708, allocations: 112.4 kB / 370.6 MB, free: 25.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009092/0.2717, allocations: 0.56 MB / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2717, allocations: 0 / 371.1 MB, free: 25.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.272, allocations: 129.9 kB / 371.3 MB, free: 25.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.2728, allocations: 118.8 kB / 371.4 MB, free: 25.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2744, allocations: 1.052 MB / 372.4 MB, free: 24.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2747, allocations: 0.8153 MB / 373.3 MB, free: 23.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2748, allocations: 46.39 kB / 373.3 MB, free: 23.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2749, allocations: 0 / 373.3 MB, free: 23.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01173/0.2866, allocations: 8.215 MB / 381.5 MB, free: 21.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches