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.0008008/0.0008008, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.0008991/0.0008992, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.314/1.314, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 12.78 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.0986, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003018/0.1017, allocations: 2.18 MB / 354.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1031, allocations: 0.6311 MB / 355.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1033, allocations: 4 kB / 355.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1035, allocations: 31.77 kB / 355.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1037, allocations: 59.53 kB / 355.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.104, allocations: 51.89 kB / 355.4 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.1043, allocations: 258.8 kB / 355.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.1046, allocations: 87.31 kB / 355.8 MB, free: 396 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1047, allocations: 83.64 kB / 355.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1049, allocations: 91.55 kB / 356 MB, free: 220 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.105, allocations: 12 kB / 356 MB, free: 208 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1051, allocations: 16 kB / 356 MB, free: 192 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.1051, allocations: 35.84 kB / 356 MB, free: 156 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1052, allocations: 133 kB / 356.1 MB, free: 16 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1055, allocations: 187.8 kB / 356.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1055, allocations: 4 kB / 356.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1055, allocations: 0 / 356.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1055, allocations: 0 / 356.3 MB, free: 15.82 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.001008/0.1066, allocations: 0.5187 MB / 356.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1066, allocations: 8.031 kB / 356.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1067, allocations: 24.66 kB / 356.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.107, allocations: 239.5 kB / 357.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.107, allocations: 16.81 kB / 357.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.1071, allocations: 20.38 kB / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.1076, allocations: 242.1 kB / 357.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1076, allocations: 0 / 357.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.1076, allocations: 4 kB / 357.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1076, allocations: 8 kB / 357.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.108, allocations: 165.7 kB / 357.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1093, allocations: 0.836 MB / 358.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1097, allocations: 166.6 kB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.1099, allocations: 80.83 kB / 358.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1099, allocations: 0 / 358.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.11, allocations: 38.5 kB / 358.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.11, allocations: 4 kB / 358.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008925/0.1109, allocations: 355.2 kB / 359 MB, free: 12.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1109, allocations: 63.22 kB / 359.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1111, allocations: 175.2 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1111, allocations: 29.7 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.1112, allocations: 148 kB / 359.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.1113, allocations: 51.33 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1113, allocations: 29.72 kB / 359.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1115, allocations: 334.8 kB / 359.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1117, allocations: 51.97 kB / 359.9 MB, free: 12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1118, allocations: 103.4 kB / 360 MB, free: 11.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1121, allocations: 148.1 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1122, allocations: 4 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005178/0.1127, allocations: 228.8 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1127, allocations: 7.938 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1127, allocations: 0 / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.113, allocations: 36.83 kB / 360.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1131, allocations: 35.92 kB / 360.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1145, allocations: 1.374 MB / 361.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1147, allocations: 43.91 kB / 361.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1148, allocations: 8 kB / 361.9 MB, free: 9.852 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.0001583/0.1149, allocations: 137.7 kB / 362 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.115, allocations: 15.81 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.115, allocations: 21.86 kB / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.115, allocations: 0 / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.115, allocations: 0 / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.115, allocations: 0 / 362 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.116, allocations: 0.5302 MB / 362.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.116, allocations: 4 kB / 362.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1161, allocations: 27.98 kB / 362.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.1163, allocations: 32.84 kB / 362.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1163, allocations: 7.938 kB / 362.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.1174, allocations: 1.375 MB / 364 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1174, allocations: 0 / 364 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.1181, allocations: 371.2 kB / 364.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.1182, allocations: 100.9 kB / 364.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1183, allocations: 4 kB / 364.5 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1185, allocations: 31.98 kB / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.1185, allocations: 19.97 kB / 364.5 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1186, allocations: 7.938 kB / 364.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1187, allocations: 127.2 kB / 364.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1187, allocations: 0 / 364.7 MB, free: 6.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.119, allocations: 59.84 kB / 364.7 MB, free: 6.758 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.0001245/0.1192, allocations: 111.1 kB / 364.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.1198, allocations: 274.3 kB / 365.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1198, allocations: 256 / 365.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.1201, allocations: 198.6 kB / 365.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1205, allocations: 27.23 kB / 365.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.1214, allocations: 0.5985 MB / 365.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1219, allocations: 0.7323 MB / 366.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1219, allocations: 15.44 kB / 366.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1219, allocations: 0 / 366.7 MB, free: 4.727 MB / 302.1 MB Notification: Performance of Templates: time 0.006159/0.1281, allocations: 3.114 MB / 369.8 MB, free: 1.617 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