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.0011/0.0011, allocations: 91.5 kB / 16.31 MB, free: 6.387 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.001321/0.001321, allocations: 179.3 kB / 17.2 MB, free: 6.293 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.479/1.479, allocations: 223.3 MB / 241.2 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.0002459, allocations: 11.98 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09665, allocations: 50.42 MB / 351.2 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002816/0.0995, allocations: 2.103 MB / 353.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1008, allocations: 0.6158 MB / 354 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1011, allocations: 4 kB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1012, allocations: 27.78 kB / 354 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1014, allocations: 63.52 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1017, allocations: 47.89 kB / 354.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.102, allocations: 242.8 kB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1022, allocations: 73.34 kB / 354.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1023, allocations: 75.7 kB / 354.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1025, allocations: 99.55 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1025, allocations: 12 kB / 354.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.058e-05/0.1026, allocations: 16 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1027, allocations: 35.84 kB / 354.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.1028, allocations: 65.58 kB / 354.7 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.103, allocations: 187.7 kB / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.103, allocations: 0 / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.103, allocations: 0 / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.103, allocations: 0 / 354.9 MB, free: 332 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.0009364/0.104, allocations: 0.5185 MB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.104, allocations: 12.02 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.1042, allocations: 31.67 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1044, allocations: 227.1 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1045, allocations: 12.44 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.1045, allocations: 20 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1049, allocations: 237.8 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.105, allocations: 3.984 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.105, allocations: 8 kB / 355.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.105, allocations: 11.95 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.1054, allocations: 165.7 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1067, allocations: 0.8244 MB / 356.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.1071, allocations: 170.5 kB / 357.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1072, allocations: 88.81 kB / 357.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1073, allocations: 7.938 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1073, allocations: 34.56 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.1073, allocations: 0 / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008087/0.1081, allocations: 354.1 kB / 357.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1082, allocations: 55.41 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1083, allocations: 179.2 kB / 357.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1084, allocations: 33.64 kB / 357.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.1085, allocations: 144.1 kB / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1085, allocations: 55.2 kB / 358 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.1085, allocations: 4 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1086, allocations: 326.8 kB / 358.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1088, allocations: 60.34 kB / 358.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.109, allocations: 97 kB / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.1091, allocations: 66.8 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1091, allocations: 4 kB / 358.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004414/0.1096, allocations: 222.1 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1096, allocations: 8 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1096, allocations: 3.984 kB / 358.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.1098, allocations: 32.84 kB / 358.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.11, allocations: 31.98 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1111, allocations: 1.37 MB / 360.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1112, allocations: 35.89 kB / 360.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1113, allocations: 12 kB / 360.3 MB, free: 10.5 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 ($PRE.onOffController.y,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 (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 prepare postOptimizeDAE: time 0.0001184/0.1114, allocations: 137.8 kB / 360.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.1114, allocations: 19.77 kB / 360.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1115, allocations: 17.88 kB / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1115, allocations: 0 / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1115, allocations: 4 kB / 360.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1115, allocations: 7.984 kB / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.1122, allocations: 0.5226 MB / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1123, allocations: 0 / 361 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.1124, allocations: 27.98 kB / 361 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.1125, allocations: 40.77 kB / 361.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1126, allocations: 4 kB / 361.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009559/0.1135, allocations: 1.355 MB / 362.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1135, allocations: 0 / 362.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.1141, allocations: 376 kB / 362.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.1142, allocations: 100.9 kB / 362.9 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1143, allocations: 7.953 kB / 362.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1145, allocations: 28.03 kB / 362.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1145, allocations: 19.97 kB / 362.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1146, allocations: 7.938 kB / 362.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1147, allocations: 135.1 kB / 363.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1147, allocations: 0 / 363.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.115, allocations: 55.84 kB / 363.1 MB, free: 7.406 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 (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.0001022/0.1151, allocations: 105.1 kB / 363.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.1156, allocations: 274.4 kB / 363.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1156, allocations: 4.25 kB / 363.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.1159, allocations: 201.7 kB / 363.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1162, allocations: 24.17 kB / 363.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.1171, allocations: 0.5577 MB / 364.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1174, allocations: 0.7323 MB / 365 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.954e-05/0.1175, allocations: 21.53 kB / 365 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.1175, allocations: 15.44 kB / 365.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1175, allocations: 0 / 365.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of Templates: time 0.005261/0.1228, allocations: 2.123 MB / 367.2 MB, free: 3.309 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