Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001199/0.001199, allocations: 106.8 kB / 17.15 MB, free: 6.305 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.001218/0.001218, allocations: 198 kB / 18.07 MB, free: 5.41 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.469/1.469, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001262/0.001262, allocations: 47.92 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005087/0.1115, allocations: 3.519 MB / 330.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1131, allocations: 0.9864 MB / 331.1 MB, free: 360 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.1133, allocations: 4 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1137, allocations: 91.38 kB / 331.2 MB, free: 264 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.1141, allocations: 166.7 kB / 331.4 MB, free: 96 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1144, allocations: 100 kB / 331.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.115, allocations: 0.6106 MB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.1153, allocations: 174.9 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.1156, allocations: 227 kB / 332.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1159, allocations: 266.8 kB / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.1159, allocations: 36 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.116, allocations: 40 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.1161, allocations: 103.6 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1164, allocations: 278.6 kB / 333.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.117, allocations: 0.619 MB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.117, allocations: 0 / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.117, allocations: 0 / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.117, allocations: 0 / 333.8 MB, free: 13.66 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001424/0.1184, allocations: 0.839 MB / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1185, allocations: 12.03 kB / 334.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1186, allocations: 64.19 kB / 334.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.1191, allocations: 386.7 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.1193, allocations: 62.92 kB / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.1193, allocations: 32.28 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.1201, allocations: 465.1 kB / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1201, allocations: 0 / 335.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.1201, allocations: 16 kB / 335.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1202, allocations: 8 kB / 335.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.1207, allocations: 282.5 kB / 335.9 MB, free: 11.36 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.002034/0.1228, allocations: 1.298 MB / 337.2 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1239, allocations: 440.4 kB / 337.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.1242, allocations: 136.8 kB / 337.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.1242, allocations: 12.02 kB / 337.8 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1243, allocations: 46.5 kB / 337.8 MB, free: 9.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.1243, allocations: 3.938 kB / 337.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001192/0.1255, allocations: 0.5985 MB / 338.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002334/0.1257, allocations: 445 kB / 338.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.1262, allocations: 457.8 kB / 339.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1263, allocations: 37.7 kB / 339.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1264, allocations: 232.4 kB / 339.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.1265, allocations: 110.5 kB / 339.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1267, allocations: 73.94 kB / 339.8 MB, free: 7.199 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1268, allocations: 358.8 kB / 340.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.127, allocations: 104.6 kB / 340.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1274, allocations: 248.1 kB / 340.5 MB, free: 6.445 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.1278, allocations: 284.2 kB / 340.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1278, allocations: 0 / 340.7 MB, free: 6.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000682/0.1285, allocations: 420.9 kB / 341.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.1286, allocations: 33.7 kB / 341.2 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1286, allocations: 0 / 341.2 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.1288, allocations: 53.69 kB / 341.2 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.1291, allocations: 67.94 kB / 341.3 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.1316, allocations: 2.736 MB / 344 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.132, allocations: 47.78 kB / 344.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1321, allocations: 12 kB / 344.1 MB, free: 2.5 MB / 286.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.0002065/0.1323, allocations: 169.7 kB / 344.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.1324, allocations: 51.42 kB / 344.3 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.1325, allocations: 52.7 kB / 344.4 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1325, allocations: 4 kB / 344.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1325, allocations: 0 / 344.4 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007085/0.1332, allocations: 0.657 MB / 345 MB, free: 1.457 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1344, allocations: 0.9003 MB / 345.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1345, allocations: 0 / 345.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.1348, allocations: 67.95 kB / 346 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.1348, allocations: 4 kB / 346 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.1348, allocations: 11.94 kB / 346 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1349, allocations: 4 kB / 346 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1349, allocations: 0 / 346 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.1358, allocations: 0.5191 MB / 346.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.1359, allocations: 160.4 kB / 346.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.136, allocations: 8 kB / 346.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1363, allocations: 24.05 kB / 346.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.1364, allocations: 15.92 kB / 346.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1364, allocations: 15.98 kB / 346.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.1368, allocations: 315.1 kB / 347.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1368, allocations: 3.938 kB / 347.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.1372, allocations: 131.8 kB / 347.2 MB, free: 15.2 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.0001369/0.1374, allocations: 107.2 kB / 347.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.1383, allocations: 0.563 MB / 347.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1383, allocations: 0 / 347.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1386, allocations: 131.8 kB / 348 MB, free: 14.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.1393, allocations: 129.9 kB / 348.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1409, allocations: 1.026 MB / 349.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1413, allocations: 0.8198 MB / 350 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.1416, allocations: 60.34 kB / 350 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1417, allocations: 51.36 kB / 350.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1417, allocations: 0 / 350.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01341/0.1551, allocations: 7.64 MB / 357.7 MB, free: 4.574 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches