Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008818/0.0008819, allocations: 96.89 kB / 16.93 MB, free: 5.984 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.001103/0.001103, allocations: 179.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005138, allocations: 15.44 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09709, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005756/0.1029, allocations: 4.412 MB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.1067, allocations: 1.416 MB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.1073, allocations: 19.94 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.1077, allocations: 115.1 kB / 334.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1087, allocations: 410.8 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.1093, allocations: 195.7 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1107, allocations: 0.9177 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004812/0.1112, allocations: 327.1 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.1117, allocations: 442.5 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.1122, allocations: 498 kB / 337 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1123, allocations: 68 kB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1125, allocations: 72 kB / 337.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1127, allocations: 191.2 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.1129, allocations: 237.1 kB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.1137, allocations: 0.9659 MB / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1138, allocations: 0 / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1138, allocations: 0 / 338.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1138, allocations: 0 / 338.6 MB, free: 9.812 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.002403/0.1162, allocations: 1.302 MB / 339.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1163, allocations: 12.03 kB / 339.9 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1165, allocations: 126.6 kB / 340 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.1173, allocations: 0.5439 MB / 340.5 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.1175, allocations: 155.1 kB / 340.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.1176, allocations: 72 kB / 340.8 MB, free: 7.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1192, allocations: 0.9628 MB / 341.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1192, allocations: 0 / 341.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.1193, allocations: 36 kB / 341.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1193, allocations: 19.98 kB / 341.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1206, allocations: 0.6364 MB / 342.4 MB, free: 5.707 MB / 286.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.004082/0.1247, allocations: 2.585 MB / 345 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/0.1274, allocations: 0.918 MB / 345.9 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.1274, allocations: 12.64 kB / 345.9 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.1275, allocations: 51.08 kB / 346 MB, free: 1.941 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/0.1275, allocations: 0 / 346 MB, free: 1.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002655/0.1302, allocations: 1.458 MB / 347.4 MB, free: 376 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004018/0.1306, allocations: 0.9567 MB / 348.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008909/0.1315, allocations: 0.7161 MB / 349.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/0.1316, allocations: 45.7 kB / 349.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.1319, allocations: 412.5 kB / 349.6 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.1321, allocations: 252.4 kB / 349.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1322, allocations: 12 kB / 349.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1323, allocations: 333.9 kB / 350.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/0.1329, allocations: 269.9 kB / 350.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009095/0.1338, allocations: 0.5841 MB / 351 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.1344, allocations: 411.9 kB / 351.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1345, allocations: 0 / 351.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001809/0.1363, allocations: 0.9799 MB / 352.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.1364, allocations: 85.09 kB / 352.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1364, allocations: 4 kB / 352.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.1367, allocations: 128.2 kB / 352.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.1374, allocations: 159.7 kB / 352.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.1428, allocations: 6.976 MB / 359.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.1439, allocations: 111.3 kB / 359.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.144, allocations: 24 kB / 359.8 MB, free: 2.812 MB / 302.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.0004066/0.1444, allocations: 249.6 kB / 360.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.1445, allocations: 102.9 kB / 360.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.1447, allocations: 100.9 kB / 360.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1447, allocations: 8 kB / 360.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1447, allocations: 4 kB / 360.3 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/0.1461, allocations: 0.9934 MB / 361.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.1489, allocations: 1.719 MB / 363 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1489, allocations: 4 kB / 363 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.1496, allocations: 159.8 kB / 363.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.1498, allocations: 36.84 kB / 363.2 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.1498, allocations: 15.98 kB / 363.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1509, allocations: 1.444 MB / 364.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.151, allocations: 0 / 364.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.1529, allocations: 1.111 MB / 365.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.1533, allocations: 247.7 kB / 366 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1534, allocations: 16 kB / 366 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.1541, allocations: 63.84 kB / 366.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.1542, allocations: 44.59 kB / 366.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.1542, allocations: 16 kB / 366.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000634/0.1549, allocations: 0.4951 MB / 366.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1549, allocations: 0 / 366.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008447/0.1557, allocations: 287.7 kB / 366.9 MB, free: 11.36 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.0001844/0.1559, allocations: 119.1 kB / 367.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.1582, allocations: 1.425 MB / 368.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.1582, allocations: 4.25 kB / 368.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.1589, allocations: 438.3 kB / 368.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1601, allocations: 251 kB / 369.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.1632, allocations: 2.007 MB / 371.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.1638, allocations: 0.9986 MB / 372.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005514/0.1643, allocations: 110.4 kB / 372.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1645, allocations: 67.42 kB / 372.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1645, allocations: 0 / 372.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of Templates: time 0.1831/0.3477, allocations: 15.02 MB / 387.4 MB, free: 49.81 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches