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.001179/0.001179, allocations: 95.91 kB / 16.94 MB, free: 5.977 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.001384/0.001384, allocations: 179.3 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.54/1.54, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005272/0.0005275, allocations: 12 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004014/0.1197, allocations: 2.767 MB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1216, allocations: 0.9093 MB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.1218, allocations: 7.938 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1221, allocations: 75.44 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1225, allocations: 195.4 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1227, allocations: 91.89 kB / 332.4 MB, free: 52 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.1233, allocations: 447.4 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.1235, allocations: 166.2 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1237, allocations: 191.3 kB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.124, allocations: 235 kB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.1241, allocations: 28 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.1241, allocations: 32 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.1242, allocations: 95.66 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.668e-05/0.1243, allocations: 121.5 kB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1247, allocations: 454.7 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1247, allocations: 3.938 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1247, allocations: 0 / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1247, allocations: 0 / 334.1 MB, free: 14.3 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.001193/0.1259, allocations: 0.7493 MB / 334.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.126, allocations: 8.031 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1261, allocations: 59.34 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.1266, allocations: 357.7 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1267, allocations: 62.34 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.1268, allocations: 39.94 kB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.1274, allocations: 449 kB / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1275, allocations: 0 / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.1275, allocations: 16 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.1275, allocations: 8 kB / 335.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.1281, allocations: 290.4 kB / 336.1 MB, free: 12.14 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.001944/0.13, allocations: 1.275 MB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.1311, allocations: 440.5 kB / 337.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.1312, allocations: 4 kB / 337.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1312, allocations: 38.56 kB / 337.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.1312, allocations: 0 / 337.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001113/0.1323, allocations: 0.6107 MB / 338.5 MB, free: 9.602 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.1325, allocations: 448.9 kB / 338.9 MB, free: 9.059 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.133, allocations: 418 kB / 339.3 MB, free: 8.641 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.133, allocations: 37.7 kB / 339.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.1332, allocations: 232.5 kB / 339.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.1333, allocations: 110.3 kB / 339.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.1334, allocations: 8 kB / 339.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1335, allocations: 354.8 kB / 340 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.1338, allocations: 108.7 kB / 340.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.1341, allocations: 256 kB / 340.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.1344, allocations: 163.3 kB / 340.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1344, allocations: 3.938 kB / 340.6 MB, free: 7.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000689/0.1351, allocations: 429 kB / 341 MB, free: 6.879 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1352, allocations: 29.7 kB / 341 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1352, allocations: 0 / 341 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.1354, allocations: 57.62 kB / 341.1 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1357, allocations: 67.86 kB / 341.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.138, allocations: 2.772 MB / 343.9 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.1383, allocations: 51.72 kB / 343.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1383, allocations: 12 kB / 344 MB, free: 3.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.1385, allocations: 161.8 kB / 344.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.1386, allocations: 51.44 kB / 344.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.1387, allocations: 56.64 kB / 344.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1387, allocations: 4 kB / 344.2 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1387, allocations: 0 / 344.2 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000615/0.1393, allocations: 0.6658 MB / 344.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1405, allocations: 0.8837 MB / 345.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1405, allocations: 0 / 345.8 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.1408, allocations: 71.89 kB / 345.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1408, allocations: 0 / 345.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1409, allocations: 8 kB / 345.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1409, allocations: 0 / 345.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1409, allocations: 0 / 345.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.1417, allocations: 0.5267 MB / 346.4 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.1419, allocations: 160.4 kB / 346.5 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.1419, allocations: 7.984 kB / 346.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1422, allocations: 23.97 kB / 346.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.1423, allocations: 19.97 kB / 346.6 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1423, allocations: 8 kB / 346.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000281/0.1426, allocations: 299.1 kB / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1426, allocations: 0 / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.143, allocations: 127.8 kB / 347 MB, free: 356 kB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.1431, allocations: 107.2 kB / 347.1 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.144, allocations: 0.5714 MB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.144, allocations: 0 / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.1442, allocations: 132.4 kB / 347.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.1448, allocations: 125.9 kB / 347.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1462, allocations: 1.058 MB / 349 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1465, allocations: 0.8236 MB / 349.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1468, allocations: 55.28 kB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.1468, allocations: 35.44 kB / 349.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1469, allocations: 0 / 349.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01093/0.1578, allocations: 6.902 MB / 356.8 MB, free: 6.445 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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