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.001336/0.001336, allocations: 116 kB / 17.69 MB, free: 5.086 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.001517/0.001517, allocations: 192 kB / 18.63 MB, free: 4.246 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.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009218/0.000922, allocations: 50.02 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08844/0.08938, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003632/0.09305, allocations: 2.484 MB / 354 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.09416, allocations: 0.6466 MB / 354.6 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.09428, allocations: 4 kB / 354.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.09444, allocations: 39.64 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.09459, allocations: 67.34 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.09486, allocations: 63.84 kB / 354.8 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.09516, allocations: 266.8 kB / 355.1 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.09539, allocations: 99.39 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.09554, allocations: 99.64 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.09571, allocations: 111.5 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.09575, allocations: 20 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.09584, allocations: 24 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.0959, allocations: 55.83 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.09602, allocations: 119.4 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.09631, allocations: 259 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.09633, allocations: 3.984 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.09633, allocations: 0 / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.09634, allocations: 0 / 355.8 MB, free: 15.32 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.0009146/0.09726, allocations: 0.5459 MB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.09731, allocations: 11.97 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.09743, allocations: 32.64 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.09775, allocations: 224.3 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.09778, allocations: 24.81 kB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.09783, allocations: 20.38 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.09826, allocations: 234.1 kB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.09828, allocations: 0 / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.09831, allocations: 8 kB / 356.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.09832, allocations: 8 kB / 356.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.0987, allocations: 157.7 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1, allocations: 0.8204 MB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.1004, allocations: 154.6 kB / 358.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1006, allocations: 80.81 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1006, allocations: 3.938 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.1006, allocations: 38.56 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.1006, allocations: 4 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008151/0.1015, allocations: 331.2 kB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1015, allocations: 55.41 kB / 358.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1017, allocations: 183.1 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1017, allocations: 29.7 kB / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.1018, allocations: 148.1 kB / 358.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1018, allocations: 51.27 kB / 359 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.1019, allocations: 37.7 kB / 359 MB, free: 11.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.102, allocations: 330.8 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1022, allocations: 55.95 kB / 359.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1024, allocations: 91.27 kB / 359.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1027, allocations: 148 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1027, allocations: 0 / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004294/0.1031, allocations: 218.1 kB / 359.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1031, allocations: 14.41 kB / 359.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1031, allocations: 0 / 359.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.1033, allocations: 36.83 kB / 359.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1035, allocations: 31.98 kB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.1047, allocations: 1.465 MB / 361.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1049, allocations: 35.94 kB / 361.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1049, allocations: 4 kB / 361.4 MB, free: 9.301 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.0001239/0.105, allocations: 145.7 kB / 361.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.105, allocations: 15.81 kB / 361.6 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1051, allocations: 25.86 kB / 361.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1051, allocations: 0 / 361.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1051, allocations: 4 kB / 361.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1051, allocations: 3.938 kB / 361.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.1058, allocations: 0.5291 MB / 362.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1059, allocations: 0 / 362.1 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.106, allocations: 23.98 kB / 362.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.1061, allocations: 28.84 kB / 362.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1062, allocations: 3.984 kB / 362.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.1072, allocations: 1.461 MB / 363.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1073, allocations: 3.938 kB / 363.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1078, allocations: 356 kB / 364 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.1079, allocations: 101 kB / 364.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.108, allocations: 144 / 364.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1082, allocations: 23.97 kB / 364.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.1083, allocations: 31.91 kB / 364.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1083, allocations: 7.984 kB / 364.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.1084, allocations: 124.3 kB / 364.3 MB, free: 6.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1084, allocations: 3.938 kB / 364.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1087, allocations: 59.81 kB / 364.3 MB, free: 6.117 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.0001113/0.1088, allocations: 103.2 kB / 364.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.1094, allocations: 254.6 kB / 364.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1094, allocations: 0 / 364.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.1096, allocations: 194.6 kB / 364.9 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.11, allocations: 31.34 kB / 364.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.1108, allocations: 466.6 kB / 365.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.111, allocations: 0.732 MB / 366.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.1111, allocations: 17.5 kB / 366.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.1112, allocations: 19.42 kB / 366.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1112, allocations: 0 / 366.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of Templates: time 0.005734/0.1169, allocations: 2.424 MB / 368.6 MB, free: 1.844 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 -s cvode -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