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.000834/0.0008342, allocations: 91.84 kB / 16.65 MB, free: 6.266 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.0008782/0.0008783, allocations: 177.5 kB / 17.56 MB, free: 5.879 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.35/1.35, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 8 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1142, allocations: 50.42 MB / 351.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002701/0.117, allocations: 2.172 MB / 354 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.118, allocations: 0.6429 MB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1182, allocations: 7.938 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1183, allocations: 23.83 kB / 354.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1184, allocations: 63.47 kB / 354.7 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1187, allocations: 47.94 kB / 354.8 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.1189, allocations: 258.8 kB / 355 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1191, allocations: 91.28 kB / 355.1 MB, free: 124 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.1192, allocations: 75.72 kB / 355.2 MB, free: 48 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1194, allocations: 95.62 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1194, allocations: 15.94 kB / 355.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.1195, allocations: 23.98 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.1195, allocations: 35.84 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1196, allocations: 129.2 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1199, allocations: 239.2 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1199, allocations: 0 / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1199, allocations: 0 / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1199, allocations: 0 / 355.7 MB, free: 15.51 MB / 302.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.0008298/0.1208, allocations: 0.5187 MB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1208, allocations: 8.031 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1209, allocations: 32.59 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1211, allocations: 232.3 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1212, allocations: 16.81 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.1212, allocations: 20.38 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.1217, allocations: 242.2 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1217, allocations: 0 / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.1217, allocations: 4 kB / 356.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1217, allocations: 8 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.1222, allocations: 169.6 kB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1234, allocations: 0.8244 MB / 357.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.1238, allocations: 170.5 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1241, allocations: 80.83 kB / 358 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1241, allocations: 4 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1241, allocations: 34.56 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.426e-06/0.1241, allocations: 3.984 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009283/0.125, allocations: 359.1 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1251, allocations: 59.34 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1253, allocations: 171.2 kB / 358.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.1253, allocations: 37.69 kB / 358.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.1254, allocations: 152.1 kB / 358.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1255, allocations: 47.27 kB / 358.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1255, allocations: 29.7 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1256, allocations: 330.8 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1258, allocations: 51.97 kB / 359.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.126, allocations: 107.4 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1263, allocations: 158.9 kB / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1263, allocations: 0 / 359.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004706/0.1268, allocations: 222.2 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1268, allocations: 7.938 kB / 359.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1269, allocations: 0 / 359.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.127, allocations: 36.83 kB / 359.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1272, allocations: 40.05 kB / 359.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.1283, allocations: 1.359 MB / 361.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.1285, allocations: 39.92 kB / 361.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1285, allocations: 7.938 kB / 361.3 MB, free: 9.547 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.0001168/0.1287, allocations: 137.7 kB / 361.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1287, allocations: 27.8 kB / 361.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.1288, allocations: 21.88 kB / 361.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1288, allocations: 0 / 361.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1288, allocations: 0 / 361.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1288, allocations: 0 / 361.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.1295, allocations: 0.5412 MB / 362 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1295, allocations: 0 / 362 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1297, allocations: 23.98 kB / 362 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.1298, allocations: 44.89 kB / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1298, allocations: 7.938 kB / 362 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1309, allocations: 1.352 MB / 363.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1309, allocations: 7.922 kB / 363.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.1315, allocations: 370.7 kB / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.1316, allocations: 96.94 kB / 363.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1316, allocations: 4 kB / 363.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.1319, allocations: 36.03 kB / 363.9 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1319, allocations: 19.92 kB / 363.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.132, allocations: 11.92 kB / 363.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.305e-05/0.1321, allocations: 123.2 kB / 364.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1321, allocations: 0 / 364.1 MB, free: 6.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.1324, allocations: 63.84 kB / 364.1 MB, free: 6.441 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.0001154/0.1325, allocations: 103.2 kB / 364.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.1331, allocations: 278.6 kB / 364.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1331, allocations: 0 / 364.5 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1334, allocations: 198.6 kB / 364.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1338, allocations: 28.12 kB / 364.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.1346, allocations: 0.5734 MB / 365.3 MB, free: 5.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.135, allocations: 0.7401 MB / 366 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.244e-05/0.1351, allocations: 13.55 kB / 366 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1351, allocations: 15.44 kB / 366.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1351, allocations: 0 / 366.1 MB, free: 4.422 MB / 302.1 MB Notification: Performance of Templates: time 0.005379/0.1405, allocations: 2.195 MB / 368.2 MB, free: 2.254 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/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