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.0007704/0.0007702, allocations: 97.02 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008721/0.0008722, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 11.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002536, allocations: 8 kB / 308.4 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 51.53 MB / 359.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003768/0.1064, allocations: 3.154 MB / 363.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1084, allocations: 0.9153 MB / 364 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.1088, allocations: 8 kB / 364 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1092, allocations: 95.36 kB / 364.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005962/0.1098, allocations: 162.7 kB / 364.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1102, allocations: 99.89 kB / 364.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008316/0.111, allocations: 0.6068 MB / 364.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.1113, allocations: 179.2 kB / 365.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.1117, allocations: 211.1 kB / 365.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.1122, allocations: 262.8 kB / 365.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1123, allocations: 32 kB / 365.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1124, allocations: 36 kB / 365.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1125, allocations: 95.61 kB / 365.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.1129, allocations: 296.3 kB / 366 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1133, allocations: 482.7 kB / 366.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1134, allocations: 0 / 366.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1134, allocations: 0 / 366.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.1134, allocations: 0 / 366.5 MB, free: 6.586 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.001445/0.1148, allocations: 0.7494 MB / 367.3 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001104/0.115, allocations: 8.031 kB / 367.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1152, allocations: 72.2 kB / 367.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.1158, allocations: 390.6 kB / 367.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1159, allocations: 62.91 kB / 367.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.116, allocations: 28.38 kB / 367.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.1168, allocations: 465.1 kB / 368.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1168, allocations: 4 kB / 368.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.1168, allocations: 16 kB / 368.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1168, allocations: 8 kB / 368.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.1175, allocations: 286.5 kB / 368.6 MB, free: 4.371 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.1198, allocations: 1.306 MB / 369.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1209, allocations: 440.5 kB / 370.3 MB, free: 2.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.1212, allocations: 140.8 kB / 370.4 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1212, allocations: 7.984 kB / 370.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1213, allocations: 46.5 kB / 370.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.1213, allocations: 0 / 370.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.00123/0.1225, allocations: 0.6076 MB / 371.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002294/0.1228, allocations: 448.9 kB / 371.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.1233, allocations: 457.9 kB / 372 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.1234, allocations: 33.8 kB / 372 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1236, allocations: 228.4 kB / 372.2 MB, free: 396 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.1237, allocations: 114.3 kB / 372.3 MB, free: 280 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1237, allocations: 37.64 kB / 372.4 MB, free: 236 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1734/0.2971, allocations: 357 kB / 372.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.2975, allocations: 105.6 kB / 372.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.298, allocations: 259.7 kB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2985, allocations: 289.6 kB / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2985, allocations: 0 / 373.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008522/0.2994, allocations: 423.7 kB / 373.8 MB, free: 18.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.2994, allocations: 35.88 kB / 373.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2995, allocations: 0.875 kB / 373.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/0.2996, allocations: 52.45 kB / 373.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3, allocations: 73.08 kB / 373.9 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.3018, allocations: 2.745 MB / 376.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.3023, allocations: 48.17 kB / 376.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.3023, allocations: 11.5 kB / 376.8 MB, free: 16.15 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.0002295/0.3026, allocations: 174.5 kB / 376.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.3027, allocations: 48.97 kB / 377 MB, free: 16.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.3028, allocations: 52.92 kB / 377 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3028, allocations: 6.719 kB / 377 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3028, allocations: 0 / 377 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006002/0.3034, allocations: 0.6549 MB / 377.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3048, allocations: 0.9222 MB / 378.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3048, allocations: 0 / 378.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.3051, allocations: 69.86 kB / 378.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3051, allocations: 0.9688 kB / 378.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3051, allocations: 6.688 kB / 378.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3052, allocations: 6.938 kB / 378.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3052, allocations: 3.938 kB / 378.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.306, allocations: 0.5322 MB / 379.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3061, allocations: 156.7 kB / 379.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.3062, allocations: 12.8 kB / 379.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.3065, allocations: 18.7 kB / 379.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3066, allocations: 27.2 kB / 379.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3066, allocations: 6.938 kB / 379.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.3069, allocations: 322.6 kB / 379.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3069, allocations: 0 / 379.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000449/0.3074, allocations: 126.8 kB / 379.9 MB, free: 14.56 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.0001067/0.3075, allocations: 113.5 kB / 380 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.3083, allocations: 0.5666 MB / 380.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3084, allocations: 4.344 kB / 380.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.3086, allocations: 134.3 kB / 380.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.3093, allocations: 123.5 kB / 380.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3107, allocations: 1.124 MB / 381.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3109, allocations: 0.8208 MB / 382.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.311, allocations: 39.78 kB / 382.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3111, allocations: 3.609 kB / 382.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01144/0.3225, allocations: 8.174 MB / 391 MB, free: 10.09 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