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.001105/0.001105, allocations: 110.8 kB / 16.51 MB, free: 6.715 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.001112/0.001112, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.283/1.283, allocations: 222.9 MB / 241.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 52.92 kB / 299.9 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0821/0.08313, allocations: 49.45 MB / 349.4 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003919/0.0871, allocations: 2.539 MB / 351.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.08827, allocations: 0.6467 MB / 352.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.08845, allocations: 0 / 352.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.08865, allocations: 23.78 kB / 352.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.08882, allocations: 63.53 kB / 352.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.08906, allocations: 55.88 kB / 352.7 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.08934, allocations: 254.8 kB / 353 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.08954, allocations: 87.3 kB / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.08967, allocations: 91.66 kB / 353.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.08982, allocations: 111.5 kB / 353.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.08986, allocations: 12 kB / 353.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.438e-05/0.08995, allocations: 20 kB / 353.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.08999, allocations: 43.78 kB / 353.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.09011, allocations: 119.4 kB / 353.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.09036, allocations: 243.4 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.09038, allocations: 4 kB / 353.7 MB, free: 340 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09038, allocations: 3.938 kB / 353.7 MB, free: 336 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.0904, allocations: 0 / 353.7 MB, free: 336 kB / 286.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.00093/0.09133, allocations: 0.5381 MB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.09138, allocations: 8.031 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.0915, allocations: 32.66 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.09176, allocations: 224.3 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.09179, allocations: 20.81 kB / 354.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.09183, allocations: 16.38 kB / 354.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.09226, allocations: 238.1 kB / 354.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.09229, allocations: 3.938 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.09232, allocations: 8 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.09233, allocations: 8 kB / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.09272, allocations: 157.6 kB / 354.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.09396, allocations: 0.8204 MB / 355.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.09435, allocations: 158.6 kB / 355.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.09454, allocations: 84.77 kB / 356 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.09456, allocations: 4 kB / 356 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.09459, allocations: 34.55 kB / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.0946, allocations: 0 / 356 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008626/0.09547, allocations: 342.7 kB / 356.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.09551, allocations: 51.41 kB / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.09567, allocations: 179.2 kB / 356.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.0957, allocations: 29.7 kB / 356.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.0958, allocations: 152.1 kB / 356.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.09584, allocations: 47.27 kB / 356.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.09592, allocations: 45.7 kB / 356.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.09603, allocations: 326.8 kB / 357.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.09619, allocations: 55.97 kB / 357.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.09636, allocations: 87.25 kB / 357.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.09667, allocations: 148.1 kB / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.09668, allocations: 0 / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004602/0.09715, allocations: 218.1 kB / 357.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.09718, allocations: 10.48 kB / 357.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.09719, allocations: 7.938 kB / 357.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.09738, allocations: 32.78 kB / 357.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.09754, allocations: 31.98 kB / 357.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.09858, allocations: 1.374 MB / 359.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.09879, allocations: 27.83 kB / 359.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.09882, allocations: 12.06 kB / 359.2 MB, free: 10.42 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.0001086/0.09893, allocations: 137.7 kB / 359.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.09898, allocations: 15.81 kB / 359.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.09903, allocations: 21.88 kB / 359.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.09904, allocations: 0 / 359.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.09904, allocations: 0 / 359.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.09905, allocations: 7.984 kB / 359.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.09976, allocations: 0.5224 MB / 359.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09977, allocations: 0 / 359.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.09992, allocations: 23.98 kB / 359.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.1001, allocations: 40.77 kB / 359.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1001, allocations: 0 / 359.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/0.1011, allocations: 1.36 MB / 361.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1011, allocations: 0 / 361.3 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.1017, allocations: 364 kB / 361.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.1018, allocations: 96.94 kB / 361.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1018, allocations: 8 kB / 361.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.102, allocations: 23.97 kB / 361.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1021, allocations: 23.97 kB / 361.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1021, allocations: 0 / 361.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.287e-05/0.1022, allocations: 127.2 kB / 361.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1022, allocations: 0 / 361.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.1025, allocations: 59.84 kB / 362 MB, free: 7.363 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 9.685e-05/0.1027, allocations: 107.1 kB / 362.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005096/0.1032, allocations: 266.4 kB / 362.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1032, allocations: 0 / 362.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.1034, allocations: 190.6 kB / 362.5 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1038, allocations: 28.23 kB / 362.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.1046, allocations: 0.5355 MB / 363.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1049, allocations: 0.7362 MB / 363.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.386e-05/0.105, allocations: 17.55 kB / 363.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.105, allocations: 15.44 kB / 363.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.105, allocations: 0 / 363.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Templates: time 0.005227/0.1102, allocations: 2.2 MB / 366.1 MB, free: 3.223 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/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