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.001453/0.001453, allocations: 115.3 kB / 17.29 MB, free: 6.312 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.001615/0.001615, allocations: 197.3 kB / 18.21 MB, free: 5.395 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.37/1.37, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 43.17 kB / 300.8 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09185, allocations: 49.45 MB / 350.2 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004729/0.09662, allocations: 3.515 MB / 353.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.09841, allocations: 0.9463 MB / 354.7 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.09879, allocations: 11.94 kB / 354.7 MB, free: 264 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.09925, allocations: 87.42 kB / 354.8 MB, free: 176 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005097/0.09978, allocations: 158.8 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1001, allocations: 111.8 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.1009, allocations: 0.6366 MB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.1012, allocations: 195.1 kB / 355.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.1015, allocations: 239.1 kB / 356.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.1019, allocations: 274.8 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.102, allocations: 52 kB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1022, allocations: 59.94 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.1023, allocations: 107.6 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.1026, allocations: 290.7 kB / 356.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.103, allocations: 0.491 MB / 357.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.103, allocations: 0 / 357.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1031, allocations: 0 / 357.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.1031, allocations: 4 kB / 357.4 MB, free: 13.57 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.001419/0.1045, allocations: 0.8428 MB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1046, allocations: 12.03 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.1047, allocations: 64.28 kB / 358.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.1052, allocations: 390.6 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1053, allocations: 62.84 kB / 358.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.1054, allocations: 32.38 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.1061, allocations: 457.1 kB / 359.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1062, allocations: 4 kB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.1062, allocations: 12 kB / 359.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1062, allocations: 12 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.1068, allocations: 282.4 kB / 359.5 MB, free: 11.27 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.00209/0.1089, allocations: 1.302 MB / 360.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.11, allocations: 438.9 kB / 361.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.1103, allocations: 140.8 kB / 361.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1104, allocations: 8 kB / 361.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1104, allocations: 38.56 kB / 361.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.1104, allocations: 0 / 361.4 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001172/0.1116, allocations: 0.6036 MB / 362 MB, free: 8.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.1118, allocations: 445 kB / 362.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.1123, allocations: 457.9 kB / 362.9 MB, free: 7.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.1123, allocations: 33.7 kB / 363 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1125, allocations: 228.6 kB / 363.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.1126, allocations: 118.2 kB / 363.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.1128, allocations: 78.02 kB / 363.4 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1129, allocations: 350.8 kB / 363.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1132, allocations: 116.6 kB / 363.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.1135, allocations: 256 kB / 364.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.114, allocations: 276.9 kB / 364.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1141, allocations: 0 / 364.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007515/0.1148, allocations: 412.3 kB / 364.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.1149, allocations: 33.7 kB / 364.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1149, allocations: 4.031 kB / 364.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.1151, allocations: 53.69 kB / 364.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1154, allocations: 63.91 kB / 364.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.1179, allocations: 2.968 MB / 367.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.1184, allocations: 47.62 kB / 367.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.1184, allocations: 8 kB / 367.9 MB, free: 2.172 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.0002484/0.1187, allocations: 173.8 kB / 368.1 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1188, allocations: 51.44 kB / 368.1 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1189, allocations: 48.7 kB / 368.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1189, allocations: 8 kB / 368.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1189, allocations: 3.938 kB / 368.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006412/0.1196, allocations: 0.6492 MB / 368.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.1209, allocations: 0.8952 MB / 369.7 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1209, allocations: 3.938 kB / 369.7 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.1213, allocations: 75.89 kB / 369.8 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1213, allocations: 4 kB / 369.8 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1214, allocations: 4 kB / 369.8 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1214, allocations: 0 / 369.8 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1214, allocations: 7.984 kB / 369.8 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1523/0.2737, allocations: 0.5065 MB / 370.3 MB, free: 25.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.274, allocations: 161.7 kB / 370.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.2741, allocations: 7.531 kB / 370.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.2745, allocations: 22.86 kB / 370.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.2746, allocations: 16.25 kB / 370.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2746, allocations: 9.656 kB / 370.6 MB, free: 25.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.275, allocations: 321.5 kB / 370.9 MB, free: 25.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.275, allocations: 0.5 kB / 370.9 MB, free: 25.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.2756, allocations: 128.6 kB / 371 MB, free: 25.43 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.0001372/0.2757, allocations: 115.1 kB / 371.1 MB, free: 25.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.2768, allocations: 0.5747 MB / 371.7 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2768, allocations: 1.406 kB / 371.7 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.2771, allocations: 126.9 kB / 371.8 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.2778, allocations: 129.8 kB / 371.9 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2795, allocations: 1.069 MB / 373 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2799, allocations: 0.815 MB / 373.8 MB, free: 23.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2801, allocations: 41.75 kB / 373.9 MB, free: 23.78 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2801, allocations: 0 / 373.9 MB, free: 23.78 MB / 302.1 MB Notification: Performance of Templates: time 0.01392/0.294, allocations: 8.228 MB / 382.1 MB, free: 21.7 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