Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 95.22 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001615, allocations: 206.7 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.5 MB, free: 9.711 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002868, allocations: 8 kB / 308.4 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 51.52 MB / 359.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003073/0.108, allocations: 2.19 MB / 362.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1093, allocations: 0.67 MB / 362.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.1096, allocations: 7.938 kB / 362.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1097, allocations: 35.77 kB / 362.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.11, allocations: 55.53 kB / 362.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1102, allocations: 59.88 kB / 362.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.1106, allocations: 250.8 kB / 363.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.1108, allocations: 91.3 kB / 363.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1109, allocations: 83.66 kB / 363.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1111, allocations: 95.48 kB / 363.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1111, allocations: 8 kB / 363.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.1112, allocations: 20 kB / 363.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.1113, allocations: 31.84 kB / 363.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1114, allocations: 137.1 kB / 363.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1116, allocations: 187.7 kB / 363.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1117, allocations: 0 / 363.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1117, allocations: 0 / 363.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1117, allocations: 0 / 363.8 MB, free: 9.191 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.0009469/0.1126, allocations: 0.5109 MB / 364.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1127, allocations: 8.031 kB / 364.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1128, allocations: 28.66 kB / 364.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1131, allocations: 239.8 kB / 364.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1131, allocations: 16.81 kB / 364.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.1132, allocations: 20.38 kB / 364.6 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.1137, allocations: 238.1 kB / 364.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1137, allocations: 3.938 kB / 364.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1137, allocations: 12 kB / 364.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1137, allocations: 4 kB / 364.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.1141, allocations: 161.7 kB / 365 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.1156, allocations: 0.8322 MB / 365.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.116, allocations: 170.5 kB / 366 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1162, allocations: 80.83 kB / 366.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1162, allocations: 4 kB / 366.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1162, allocations: 38.5 kB / 366.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1163, allocations: 0 / 366.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009203/0.1172, allocations: 355.2 kB / 366.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1172, allocations: 59.33 kB / 366.6 MB, free: 6.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1174, allocations: 168 kB / 366.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1174, allocations: 33.64 kB / 366.8 MB, free: 6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1176, allocations: 156 kB / 366.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.1176, allocations: 55.33 kB / 367 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1177, allocations: 21.72 kB / 367 MB, free: 5.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1178, allocations: 334.8 kB / 367.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.118, allocations: 51.97 kB / 367.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.1181, allocations: 103.2 kB / 367.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1185, allocations: 158.3 kB / 367.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1185, allocations: 0 / 367.6 MB, free: 5.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004953/0.119, allocations: 222.2 kB / 367.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.119, allocations: 7.938 kB / 367.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.119, allocations: 4 kB / 367.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.1192, allocations: 36.83 kB / 367.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1194, allocations: 35.92 kB / 367.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.1206, allocations: 1.37 MB / 369.3 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.1208, allocations: 35.89 kB / 369.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1209, allocations: 12 kB / 369.3 MB, free: 3.223 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.0001406/0.121, allocations: 138.8 kB / 369.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.1211, allocations: 15.81 kB / 369.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.1211, allocations: 25.86 kB / 369.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1211, allocations: 4 kB / 369.5 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1211, allocations: 11.94 kB / 369.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1212, allocations: 0 / 369.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.122, allocations: 0.5292 MB / 370.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.122, allocations: 0 / 370.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1221, allocations: 31.98 kB / 370.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.1223, allocations: 28.84 kB / 370.1 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1223, allocations: 11.92 kB / 370.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1234, allocations: 1.36 MB / 371.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1234, allocations: 0 / 371.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.124, allocations: 376 kB / 371.8 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.1241, allocations: 96.94 kB / 371.9 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1242, allocations: 8 kB / 372 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1244, allocations: 28.03 kB / 372 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1245, allocations: 15.98 kB / 372 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1245, allocations: 7.938 kB / 372 MB, free: 324 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1246, allocations: 139.5 kB / 372.1 MB, free: 184 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 372.1 MB, free: 184 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1249, allocations: 55.84 kB / 372.2 MB, free: 128 kB / 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.000131/0.1251, allocations: 107.2 kB / 372.3 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.164/0.2891, allocations: 269.9 kB / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.2892, allocations: 0 / 372.6 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.2895, allocations: 203.1 kB / 372.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.29, allocations: 30.59 kB / 372.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.291, allocations: 0.6045 MB / 373.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2912, allocations: 0.7332 MB / 374.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.2913, allocations: 16.44 kB / 374.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2913, allocations: 0 / 374.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00676/0.2981, allocations: 3.116 MB / 377.3 MB, free: 17.88 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches