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.001599/0.001599, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001775/0.001775, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.316/1.316, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009829/0.0009829, allocations: 51.94 kB / 351.9 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2679, allocations: 49.43 MB / 401.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004246/0.2722, allocations: 3.499 MB / 404.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2736, allocations: 0.9423 MB / 405.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2738, allocations: 4 kB / 405.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.2741, allocations: 111.1 kB / 405.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.2744, allocations: 190.4 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.2747, allocations: 115.8 kB / 406.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.2753, allocations: 0.6411 MB / 406.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000276/0.2756, allocations: 188.3 kB / 407 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2758, allocations: 239.2 kB / 407.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.2761, allocations: 270.8 kB / 407.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-05/0.2762, allocations: 55.98 kB / 407.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.2763, allocations: 56 kB / 407.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.2764, allocations: 115.6 kB / 407.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.2766, allocations: 298.6 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005209/0.2772, allocations: 0.6459 MB / 408.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2772, allocations: 0 / 408.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2772, allocations: 4 kB / 408.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2772, allocations: 0 / 408.7 MB, free: 1.488 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001321/0.2785, allocations: 0.835 MB / 409.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2786, allocations: 8.031 kB / 409.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2787, allocations: 64.22 kB / 409.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.2792, allocations: 398.6 kB / 410 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2793, allocations: 58.91 kB / 410 MB, free: 40 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.2794, allocations: 36.38 kB / 410.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.2801, allocations: 461.1 kB / 410.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2801, allocations: 0 / 410.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.2801, allocations: 16 kB / 410.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2802, allocations: 8 kB / 410.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.2807, allocations: 278.5 kB / 410.8 MB, free: 15.2 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.001909/0.2826, allocations: 1.29 MB / 412.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.2837, allocations: 443.5 kB / 412.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.284, allocations: 141.6 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.284, allocations: 7.984 kB / 412.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2841, allocations: 50.55 kB / 412.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.2841, allocations: 0 / 412.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001078/0.2852, allocations: 0.5907 MB / 413.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.2854, allocations: 452.9 kB / 413.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.2858, allocations: 457.8 kB / 414.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.2859, allocations: 37.7 kB / 414.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.2861, allocations: 236.4 kB / 414.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.2861, allocations: 106.4 kB / 414.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2863, allocations: 78.02 kB / 414.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2864, allocations: 354.8 kB / 415 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.2866, allocations: 104.6 kB / 415.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.287, allocations: 260 kB / 415.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.2875, allocations: 285.2 kB / 415.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2875, allocations: 4 kB / 415.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006823/0.2882, allocations: 412.3 kB / 416 MB, free: 9.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.2882, allocations: 33.69 kB / 416.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2882, allocations: 0 / 416.1 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.2884, allocations: 53.73 kB / 416.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2887, allocations: 67.89 kB / 416.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.2911, allocations: 2.968 MB / 419.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.2914, allocations: 39.7 kB / 419.2 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.2915, allocations: 16 kB / 419.2 MB, free: 6.086 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 (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.0001964/0.2917, allocations: 161.8 kB / 419.4 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2918, allocations: 47.44 kB / 419.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.2919, allocations: 52.69 kB / 419.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2919, allocations: 8 kB / 419.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2919, allocations: 4.031 kB / 419.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007123/0.2926, allocations: 0.6492 MB / 420.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2939, allocations: 0.897 MB / 421 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2939, allocations: 3.938 kB / 421 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.2942, allocations: 67.91 kB / 421.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.2942, allocations: 8.219 kB / 421.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2943, allocations: 4 kB / 421.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2943, allocations: 4 kB / 421.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2943, allocations: 0 / 421.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.2951, allocations: 0.5242 MB / 421.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.2952, allocations: 168.4 kB / 421.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.2953, allocations: 8 kB / 421.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.2956, allocations: 19.92 kB / 421.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2956, allocations: 19.97 kB / 421.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2957, allocations: 8 kB / 421.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.296, allocations: 323.1 kB / 422.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.296, allocations: 0 / 422.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.2964, allocations: 131.8 kB / 422.3 MB, free: 2.793 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 (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.0001121/0.2965, allocations: 111.2 kB / 422.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008623/0.2974, allocations: 0.5591 MB / 423 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2974, allocations: 0 / 423 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.2977, allocations: 127.8 kB / 423.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.2983, allocations: 137.8 kB / 423.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2997, allocations: 0.8951 MB / 424.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3001, allocations: 0.8159 MB / 424.9 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.3002, allocations: 39.44 kB / 425 MB, free: 0 / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3002, allocations: 4.047 kB / 425 MB, free: 15.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01011/0.3103, allocations: 8.222 MB / 433.2 MB, free: 7.832 MB / 350.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