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.001121/0.001121, allocations: 114.5 kB / 18.45 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.001161/0.001161, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.118/2.118, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002097, allocations: 59.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4318, allocations: 50.54 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.006084/0.4379, allocations: 2.501 MB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.4396, allocations: 0.6778 MB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.4398, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.44, allocations: 39.58 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.4403, allocations: 63.41 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.4406, allocations: 71.84 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004297/0.4411, allocations: 262.8 kB / 413.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.4414, allocations: 107.4 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.4416, allocations: 95.7 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.4418, allocations: 115.5 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.4419, allocations: 20 kB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.442, allocations: 27.94 kB / 413.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.4421, allocations: 51.83 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.4422, allocations: 111.5 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.4427, allocations: 260.2 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4427, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4428, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4428, allocations: 0 / 414.3 MB, free: 13.13 MB / 334.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.001418/0.4442, allocations: 0.5536 MB / 414.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4443, allocations: 8.031 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.4445, allocations: 28.66 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.4449, allocations: 232.4 kB / 415.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.445, allocations: 16.81 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.445, allocations: 20.28 kB / 415.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.4457, allocations: 234.2 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4458, allocations: 4 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.4458, allocations: 4 kB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4458, allocations: 8 kB / 415.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.4465, allocations: 157.6 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.4483, allocations: 0.8088 MB / 416.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.4491, allocations: 166.5 kB / 416.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.4494, allocations: 76.83 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.4494, allocations: 0 / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4495, allocations: 30.56 kB / 416.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 5.16e-06/0.4495, allocations: 7.984 kB / 416.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001429/0.451, allocations: 341.6 kB / 417 MB, free: 10.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.451, allocations: 55.41 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.4513, allocations: 174.6 kB / 417.2 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.4513, allocations: 33.7 kB / 417.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4515, allocations: 140.1 kB / 417.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.4516, allocations: 67.12 kB / 417.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.4517, allocations: 33.72 kB / 417.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4519, allocations: 334.8 kB / 417.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.4522, allocations: 51.97 kB / 417.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.4525, allocations: 99.75 kB / 417.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005488/0.4531, allocations: 142.4 kB / 418.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4531, allocations: 0 / 418.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008495/0.454, allocations: 226 kB / 418.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.454, allocations: 4 kB / 418.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4541, allocations: 0 / 418.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003256/0.4544, allocations: 36.83 kB / 418.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.4547, allocations: 35.92 kB / 418.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.4568, allocations: 1.473 MB / 419.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.4571, allocations: 39.86 kB / 419.9 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.4572, allocations: 8 kB / 419.9 MB, free: 7.094 MB / 334.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.0001917/0.4574, allocations: 129.8 kB / 420 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.4575, allocations: 19.8 kB / 420 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.4575, allocations: 17.88 kB / 420.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4576, allocations: 4 kB / 420.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4576, allocations: 4 kB / 420.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4576, allocations: 3.938 kB / 420.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.4589, allocations: 0.5148 MB / 420.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4589, allocations: 0 / 420.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4591, allocations: 27.92 kB / 420.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.4594, allocations: 36.81 kB / 420.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.4594, allocations: 8 kB / 420.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.4613, allocations: 1.461 MB / 422.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4613, allocations: 3.938 kB / 422.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.4624, allocations: 351 kB / 422.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.4626, allocations: 104.9 kB / 422.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.4626, allocations: 8.125 kB / 422.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.463, allocations: 27.97 kB / 422.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4631, allocations: 15.97 kB / 422.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.4632, allocations: 8 kB / 422.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4634, allocations: 120.3 kB / 422.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4634, allocations: 3.938 kB / 422.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006548/0.4641, allocations: 63.84 kB / 422.8 MB, free: 3.93 MB / 334.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.0001932/0.4643, allocations: 103.2 kB / 422.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009268/0.4652, allocations: 265.8 kB / 423.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4652, allocations: 0 / 423.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.4657, allocations: 198.8 kB / 423.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.4663, allocations: 36.05 kB / 423.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.4677, allocations: 476 kB / 423.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4681, allocations: 0.7398 MB / 424.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.4682, allocations: 15.44 kB / 424.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4682, allocations: 0 / 424.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of Templates: time 0.008704/0.4769, allocations: 3.195 MB / 427.8 MB, free: 14.84 MB / 350.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