Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001362/0.001362, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001298/0.001299, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.1 MB / 225 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 51.92 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07765/0.07886, allocations: 46.63 MB / 327.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003558/0.08246, allocations: 2.452 MB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.08348, allocations: 0.6398 MB / 331 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.08363, allocations: 4 kB / 331 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.08377, allocations: 39.58 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.08392, allocations: 67.41 kB / 331.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.08415, allocations: 67.84 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.08441, allocations: 262.8 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.0846, allocations: 95.41 kB / 331.6 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.08472, allocations: 111.6 kB / 331.7 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.08487, allocations: 107.5 kB / 331.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.08491, allocations: 20 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.085, allocations: 27.94 kB / 331.8 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.08505, allocations: 51.84 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.08517, allocations: 115.4 kB / 332 MB, free: 408 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.08545, allocations: 255.4 kB / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.08546, allocations: 0 / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08547, allocations: 0 / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.08548, allocations: 0 / 332.2 MB, free: 152 kB / 270.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.0008975/0.08639, allocations: 0.5422 MB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.08643, allocations: 15.89 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.08655, allocations: 28.66 kB / 332.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.0868, allocations: 240.3 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.08682, allocations: 12.81 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.08687, allocations: 20.38 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000425/0.0873, allocations: 230.2 kB / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.08732, allocations: 0 / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.08735, allocations: 8 kB / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.08737, allocations: 12 kB / 333.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.08774, allocations: 161.6 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.08898, allocations: 0.8244 MB / 334.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.08936, allocations: 158.5 kB / 334.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.08955, allocations: 80.81 kB / 334.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.08958, allocations: 11.88 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.08961, allocations: 38.56 kB / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.08962, allocations: 0 / 334.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008284/0.09045, allocations: 332.1 kB / 334.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.0905, allocations: 55.41 kB / 335 MB, free: 13.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.09065, allocations: 182.6 kB / 335.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.09068, allocations: 25.7 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.09077, allocations: 148.1 kB / 335.3 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.09082, allocations: 55.33 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.09089, allocations: 37.7 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.09099, allocations: 330.8 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.09114, allocations: 51.97 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.09132, allocations: 92.25 kB / 335.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.09161, allocations: 159 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.09162, allocations: 0 / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004509/0.09208, allocations: 218.1 kB / 336.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.0921, allocations: 4 kB / 336.2 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.09212, allocations: 4.125 kB / 336.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.0923, allocations: 32.84 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.09246, allocations: 35.97 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.09359, allocations: 1.465 MB / 337.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.09378, allocations: 35.78 kB / 337.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.09381, allocations: 12.06 kB / 337.8 MB, free: 10.09 MB / 286.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.0001126/0.09393, allocations: 129.8 kB / 338 MB, free: 9.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.09398, allocations: 15.81 kB / 338 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.09403, allocations: 25.86 kB / 338 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.09403, allocations: 0 / 338 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.09405, allocations: 4 kB / 338 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.09406, allocations: 3.938 kB / 338 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.09476, allocations: 0.5196 MB / 338.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.09478, allocations: 4 kB / 338.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.09494, allocations: 31.97 kB / 338.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.09506, allocations: 32.78 kB / 338.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.09508, allocations: 0 / 338.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.0961, allocations: 1.465 MB / 340.1 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.09612, allocations: 11.94 kB / 340.1 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.09671, allocations: 345.9 kB / 340.4 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.0968, allocations: 100.9 kB / 340.5 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.09684, allocations: 8 kB / 340.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.09704, allocations: 23.98 kB / 340.5 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.09711, allocations: 23.91 kB / 340.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.09713, allocations: 0 / 340.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.09723, allocations: 132.3 kB / 340.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09724, allocations: 0 / 340.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.09756, allocations: 55.91 kB / 340.7 MB, free: 6.938 MB / 286.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.0001022/0.09767, allocations: 103.2 kB / 340.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005222/0.09819, allocations: 274.4 kB / 341.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.09821, allocations: 0 / 341.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.09847, allocations: 178.9 kB / 341.3 MB, free: 6.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.09885, allocations: 43.86 kB / 341.3 MB, free: 6.312 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.09965, allocations: 492.3 kB / 341.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.09994, allocations: 0.732 MB / 342.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.09999, allocations: 15.44 kB / 342.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1, allocations: 0 / 342.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of Templates: time 0.00474/0.1047, allocations: 3.162 MB / 345.7 MB, free: 1.859 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches