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.001203/0.001203, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.44 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1067, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003668/0.1104, allocations: 2.51 MB / 361.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1115, allocations: 0.6776 MB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1116, allocations: 4 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1117, allocations: 39.66 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1118, allocations: 67.34 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1121, allocations: 67.84 kB / 362.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1124, allocations: 258.8 kB / 362.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1126, allocations: 107.4 kB / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1127, allocations: 91.72 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1128, allocations: 115.4 kB / 362.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1129, allocations: 24 kB / 362.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.113, allocations: 24 kB / 362.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.113, allocations: 51.83 kB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1131, allocations: 115.5 kB / 363 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.1134, allocations: 263 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1134, allocations: 0 / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1134, allocations: 4 kB / 363.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1134, allocations: 0 / 363.3 MB, free: 8.914 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.0008878/0.1143, allocations: 0.542 MB / 363.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1144, allocations: 15.97 kB / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1145, allocations: 24.66 kB / 363.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1148, allocations: 232.3 kB / 364.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1148, allocations: 12.81 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.1148, allocations: 28.38 kB / 364.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.1152, allocations: 226.2 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1152, allocations: 0 / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.1153, allocations: 15.98 kB / 364.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1153, allocations: 4 kB / 364.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.1156, allocations: 161.6 kB / 364.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1169, allocations: 0.8127 MB / 365.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1172, allocations: 158.6 kB / 365.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1174, allocations: 76.83 kB / 365.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1175, allocations: 7.938 kB / 365.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1175, allocations: 42.55 kB / 365.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1175, allocations: 0 / 365.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008017/0.1183, allocations: 331.2 kB / 365.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1183, allocations: 55.41 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.1185, allocations: 182.6 kB / 366.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1185, allocations: 29.64 kB / 366.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.1186, allocations: 148.1 kB / 366.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1187, allocations: 55.14 kB / 366.4 MB, free: 5.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.1187, allocations: 45.61 kB / 366.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1189, allocations: 330.8 kB / 366.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.119, allocations: 51.97 kB / 366.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.1192, allocations: 91.81 kB / 366.9 MB, free: 5.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.1195, allocations: 144.1 kB / 367.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1195, allocations: 4 kB / 367.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000422/0.1199, allocations: 216.6 kB / 367.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1199, allocations: 8 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1199, allocations: 4.125 kB / 367.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.1201, allocations: 32.84 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1203, allocations: 31.92 kB / 367.3 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.1216, allocations: 1.473 MB / 368.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1218, allocations: 35.78 kB / 368.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1218, allocations: 4 kB / 368.9 MB, free: 2.887 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.0001139/0.1219, allocations: 137.8 kB / 369 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.122, allocations: 15.81 kB / 369 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.122, allocations: 21.88 kB / 369 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.122, allocations: 3.938 kB / 369 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1221, allocations: 3.984 kB / 369 MB, free: 2.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1221, allocations: 3.938 kB / 369 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.1227, allocations: 0.5182 MB / 369.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1228, allocations: 7.938 kB / 369.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.1229, allocations: 27.97 kB / 369.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001451/0.1231, allocations: 32.84 kB / 369.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1231, allocations: 0 / 369.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.1242, allocations: 1.465 MB / 371.1 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1242, allocations: 3.938 kB / 371.1 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.1249, allocations: 352.1 kB / 371.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1568/0.2817, allocations: 98.02 kB / 371.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.2818, allocations: 3.938 kB / 371.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2821, allocations: 21.44 kB / 371.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.2822, allocations: 19.17 kB / 371.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.2823, allocations: 11.33 kB / 371.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.2825, allocations: 131.4 kB / 371.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2825, allocations: 1.938 kB / 371.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.283, allocations: 57.95 kB / 371.8 MB, free: 19.98 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.0001448/0.2831, allocations: 99.45 kB / 371.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.2837, allocations: 264.4 kB / 372.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2837, allocations: 1.938 kB / 372.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.284, allocations: 190.3 kB / 372.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2844, allocations: 36.42 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.2853, allocations: 452 kB / 372.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.2855, allocations: 0.7354 MB / 373.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.247e-05/0.2856, allocations: 13.19 kB / 373.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.2856, allocations: 15.34 kB / 373.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2856, allocations: 3.906 kB / 373.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of Templates: time 0.006742/0.2924, allocations: 2.422 MB / 376 MB, free: 18.69 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 -s cvode -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