Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001405/0.001405, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.275/1.275, allocations: 223.2 MB / 241.1 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002777, allocations: 6.25 kB / 300.7 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08773, allocations: 50.42 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004094/0.09187, allocations: 4.432 MB / 355.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.09387, allocations: 1.364 MB / 356.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.09421, allocations: 12 kB / 356.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.09449, allocations: 127 kB / 357.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.09514, allocations: 410.8 kB / 357.5 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.09552, allocations: 187.8 kB / 357.6 MB, free: 5.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.09647, allocations: 0.9254 MB / 358.6 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.09687, allocations: 327 kB / 358.9 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003601/0.09724, allocations: 434.6 kB / 359.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004899/0.09774, allocations: 0.494 MB / 359.8 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.09786, allocations: 68 kB / 359.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.09801, allocations: 68 kB / 359.9 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.09817, allocations: 195.3 kB / 360.1 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.09837, allocations: 237.1 kB / 360.4 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008149/0.09919, allocations: 0.9621 MB / 361.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09921, allocations: 0 / 361.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.09922, allocations: 0 / 361.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.09923, allocations: 0 / 361.3 MB, free: 1.449 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002196/0.1014, allocations: 1.302 MB / 362.6 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1015, allocations: 12.03 kB / 362.6 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.1017, allocations: 130.6 kB / 362.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.1024, allocations: 0.54 MB / 363.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.1026, allocations: 159 kB / 363.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.1027, allocations: 76 kB / 363.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1041, allocations: 0.9628 MB / 364.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1041, allocations: 0 / 364.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.358e-05/0.1042, allocations: 32 kB / 364.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1042, allocations: 19.98 kB / 364.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1055, allocations: 0.6364 MB / 365.2 MB, free: 13.34 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.003598/0.1091, allocations: 2.597 MB / 367.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.1118, allocations: 0.9102 MB / 368.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.1118, allocations: 16.62 kB / 368.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1119, allocations: 51.22 kB / 368.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.335e-06/0.1119, allocations: 0 / 368.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002564/0.1144, allocations: 1.447 MB / 370.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003405/0.1148, allocations: 0.9527 MB / 371.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007919/0.1156, allocations: 0.7277 MB / 371.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.1157, allocations: 45.7 kB / 371.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.116, allocations: 412.6 kB / 372.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.1162, allocations: 248.3 kB / 372.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1162, allocations: 16 kB / 372.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1163, allocations: 330 kB / 372.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005486/0.1169, allocations: 271.7 kB / 373.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.1177, allocations: 0.5919 MB / 373.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.1184, allocations: 403.8 kB / 374.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1184, allocations: 0 / 374.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001614/0.12, allocations: 0.9859 MB / 375.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.1201, allocations: 81.11 kB / 375.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1201, allocations: 4 kB / 375.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.1205, allocations: 132.2 kB / 375.4 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.1212, allocations: 159.8 kB / 375.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005371/0.1265, allocations: 6.972 MB / 382.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.1276, allocations: 123.2 kB / 382.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.1276, allocations: 24 kB / 382.6 MB, free: 10.44 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.128, allocations: 233.2 kB / 382.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1282, allocations: 102.9 kB / 383 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.1284, allocations: 104.9 kB / 383.1 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.1284, allocations: 4 kB / 383.1 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.1284, allocations: 7.953 kB / 383.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/0.1298, allocations: 0.9973 MB / 384.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.1324, allocations: 1.723 MB / 385.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1324, allocations: 0 / 385.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.1332, allocations: 155.8 kB / 386 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.1333, allocations: 36.83 kB / 386 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.1333, allocations: 16 kB / 386 MB, free: 6.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.1344, allocations: 1.452 MB / 387.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1344, allocations: 0 / 387.5 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.1363, allocations: 1.107 MB / 388.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.1367, allocations: 251.6 kB / 388.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.1368, allocations: 20 kB / 388.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/0.1374, allocations: 51.97 kB / 388.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.1375, allocations: 44.53 kB / 388.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1376, allocations: 23.98 kB / 388.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.1381, allocations: 0.4912 MB / 389.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1381, allocations: 0 / 389.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008783/0.139, allocations: 291.7 kB / 389.7 MB, free: 2.992 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001712/0.1392, allocations: 127.2 kB / 389.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.1411, allocations: 1.417 MB / 391.3 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.1412, allocations: 4.25 kB / 391.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006684/0.1418, allocations: 442.3 kB / 391.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.1428, allocations: 243.2 kB / 391.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.1454, allocations: 2.011 MB / 394 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.1459, allocations: 0.9947 MB / 394.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000444/0.1464, allocations: 110.4 kB / 395.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.1465, allocations: 71.42 kB / 395.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1465, allocations: 0 / 395.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Templates: time 0.022/0.1686, allocations: 15.02 MB / 410.1 MB, free: 14.69 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches