Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001393, allocations: 111.8 kB / 17.29 MB, free: 6.219 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.001657/0.001657, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 46.22 kB / 300.8 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1144, allocations: 49.45 MB / 350.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005627/0.1201, allocations: 2.539 MB / 352.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1218, allocations: 0.6428 MB / 353.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1221, allocations: 4 kB / 353.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1224, allocations: 23.77 kB / 353.4 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002804/0.1227, allocations: 59.53 kB / 353.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.1231, allocations: 51.89 kB / 353.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000464/0.1235, allocations: 270.8 kB / 353.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.1238, allocations: 103.4 kB / 353.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.1241, allocations: 95.66 kB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1243, allocations: 115.5 kB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.487e-05/0.1244, allocations: 20 kB / 354.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1245, allocations: 24 kB / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.1246, allocations: 43.84 kB / 354.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.1248, allocations: 123.3 kB / 354.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1251, allocations: 195.8 kB / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1251, allocations: 0 / 354.5 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd: time 5.179e-06/0.1251, allocations: 3.984 kB / 354.5 MB, free: 444 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1251, allocations: 0 / 354.5 MB, free: 444 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001296/0.1264, allocations: 0.5381 MB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1265, allocations: 11.89 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1267, allocations: 36.64 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.127, allocations: 232.3 kB / 355.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1271, allocations: 16.81 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1271, allocations: 20.38 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.1278, allocations: 234.1 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1278, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.1279, allocations: 8 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1279, allocations: 8 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.1285, allocations: 157.7 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1304, allocations: 0.8204 MB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1309, allocations: 166.4 kB / 356.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.1312, allocations: 80.81 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1313, allocations: 7.938 kB / 356.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.1313, allocations: 38.56 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.1313, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001222/0.1326, allocations: 338.7 kB / 357.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1326, allocations: 55.41 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1329, allocations: 179.2 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.1329, allocations: 25.7 kB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1331, allocations: 152 kB / 357.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.1331, allocations: 51.33 kB / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1333, allocations: 41.7 kB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1334, allocations: 326.8 kB / 358 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1337, allocations: 51.97 kB / 358.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.1339, allocations: 92.25 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.1344, allocations: 144.1 kB / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1344, allocations: 0 / 358.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007172/0.1351, allocations: 221.2 kB / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.1352, allocations: 4 kB / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1352, allocations: 4.125 kB / 358.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/0.1355, allocations: 36.84 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.1357, allocations: 35.91 kB / 358.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.1375, allocations: 1.469 MB / 360.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.1378, allocations: 35.75 kB / 360.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.1378, allocations: 16.05 kB / 360.1 MB, free: 10.4 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: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.138, allocations: 129.8 kB / 360.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1381, allocations: 15.81 kB / 360.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.1382, allocations: 25.86 kB / 360.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1382, allocations: 0 / 360.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1382, allocations: 4 kB / 360.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1382, allocations: 3.938 kB / 360.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1393, allocations: 0.5224 MB / 360.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1394, allocations: 0 / 360.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1396, allocations: 23.98 kB / 360.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001466/0.1397, allocations: 32.84 kB / 360.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1398, allocations: 3.938 kB / 360.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.1414, allocations: 1.473 MB / 362.3 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1414, allocations: 8 kB / 362.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009103/0.1423, allocations: 351.9 kB / 362.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1424, allocations: 97.11 kB / 362.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1425, allocations: 8 kB / 362.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1428, allocations: 28.02 kB / 362.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.1429, allocations: 15.98 kB / 362.8 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.1429, allocations: 7.984 kB / 362.9 MB, free: 7.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1431, allocations: 123.2 kB / 363 MB, free: 7.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1431, allocations: 0 / 363 MB, free: 7.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.1437, allocations: 63.75 kB / 363 MB, free: 7.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.1439, allocations: 111.1 kB / 363.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.1447, allocations: 266.5 kB / 363.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1447, allocations: 0 / 363.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1451, allocations: 190.8 kB / 363.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.1457, allocations: 31.92 kB / 363.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1471, allocations: 0.5589 MB / 364.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.1476, allocations: 0.7359 MB / 364.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.1477, allocations: 15.44 kB / 364.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1477, allocations: 0 / 364.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of Templates: time 0.008207/0.1559, allocations: 3.146 MB / 368.1 MB, free: 2.102 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches