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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 94.31 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007517/0.0007518, allocations: 43.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1961, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002961/0.1991, allocations: 2.514 MB / 376.3 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.2, allocations: 0.64 MB / 377 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2001, allocations: 3.75 kB / 377 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.2002, allocations: 27.61 kB / 377 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2004, allocations: 54.72 kB / 377.1 MB, free: 43.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.2006, allocations: 59.36 kB / 377.1 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2008, allocations: 259.4 kB / 377.4 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2009, allocations: 87.48 kB / 377.4 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.201, allocations: 93.28 kB / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.2012, allocations: 108.1 kB / 377.6 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.2012, allocations: 18.88 kB / 377.7 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.2013, allocations: 17.22 kB / 377.7 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2013, allocations: 42.69 kB / 377.7 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.2014, allocations: 109.9 kB / 377.8 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.2016, allocations: 251.8 kB / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2016, allocations: 1.062 kB / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2016, allocations: 0 / 378.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2016, allocations: 0 / 378.1 MB, free: 42.59 MB / 298.7 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.0007847/0.2024, allocations: 0.545 MB / 378.6 MB, free: 42.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2025, allocations: 8.812 kB / 378.6 MB, free: 42.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2026, allocations: 26.97 kB / 378.7 MB, free: 42.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2028, allocations: 231.7 kB / 378.9 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2028, allocations: 17.41 kB / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.2028, allocations: 21.97 kB / 378.9 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.2032, allocations: 232.3 kB / 379.1 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2033, allocations: 0 / 379.1 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2033, allocations: 10.16 kB / 379.2 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2033, allocations: 5.438 kB / 379.2 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.2037, allocations: 162.4 kB / 379.3 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.2047, allocations: 0.8222 MB / 380.1 MB, free: 40.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2051, allocations: 161.7 kB / 380.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2052, allocations: 81.48 kB / 380.4 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2053, allocations: 1.312 kB / 380.4 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2053, allocations: 31.94 kB / 380.4 MB, free: 40.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.2053, allocations: 5.094 kB / 380.4 MB, free: 40.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000743/0.206, allocations: 339.9 kB / 380.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.2061, allocations: 52.5 kB / 380.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2062, allocations: 185.9 kB / 381 MB, free: 40.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2062, allocations: 27.02 kB / 381 MB, free: 40.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.2063, allocations: 146 kB / 381.2 MB, free: 40.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.2063, allocations: 58.5 kB / 381.2 MB, free: 40.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.2064, allocations: 35.09 kB / 381.2 MB, free: 39.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.2064, allocations: 334.7 kB / 381.6 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.2066, allocations: 52.28 kB / 381.6 MB, free: 39.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2067, allocations: 93.59 kB / 381.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.207, allocations: 140.6 kB / 381.9 MB, free: 39.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.207, allocations: 1.219 kB / 381.9 MB, free: 39.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003966/0.2074, allocations: 216.1 kB / 382.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2074, allocations: 6 kB / 382.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2074, allocations: 1.312 kB / 382.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.2076, allocations: 44.42 kB / 382.1 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.2077, allocations: 29.48 kB / 382.1 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007742/0.2085, allocations: 1.372 MB / 383.5 MB, free: 37.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2087, allocations: 30.42 kB / 383.5 MB, free: 37.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2087, allocations: 5.625 kB / 383.6 MB, free: 37.88 MB / 298.7 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 7.996e-05/0.2088, allocations: 134.9 kB / 383.7 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2089, allocations: 16.19 kB / 383.7 MB, free: 37.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.2089, allocations: 29.77 kB / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2089, allocations: 1.312 kB / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2089, allocations: 1.281 kB / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2089, allocations: 0 / 383.7 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.2095, allocations: 0.5106 MB / 384.2 MB, free: 37.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2095, allocations: 4 kB / 384.2 MB, free: 37.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.2097, allocations: 23.7 kB / 384.3 MB, free: 37.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.2098, allocations: 39.22 kB / 384.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2098, allocations: 9.266 kB / 384.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/0.2104, allocations: 1.363 MB / 385.7 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2104, allocations: 0 / 385.7 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.2133, allocations: 3.236 MB / 388.9 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2134, allocations: 107.2 kB / 389 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2134, allocations: 9.141 kB / 389 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2136, allocations: 20.55 kB / 389 MB, free: 32.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.2137, allocations: 23.97 kB / 389.1 MB, free: 32.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2137, allocations: 2.219 kB / 389.1 MB, free: 32.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.2138, allocations: 127.4 kB / 389.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2138, allocations: 0 / 389.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.2142, allocations: 78.59 kB / 389.3 MB, free: 32.6 MB / 298.7 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 7.738e-05/0.2142, allocations: 104.8 kB / 389.4 MB, free: 32.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.2147, allocations: 270.6 kB / 389.6 MB, free: 32.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2147, allocations: 3.938 kB / 389.6 MB, free: 32.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.2149, allocations: 184.5 kB / 389.8 MB, free: 32.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.2152, allocations: 36.14 kB / 389.9 MB, free: 32.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.216, allocations: 0.8069 MB / 390.7 MB, free: 31.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2162, allocations: 0.7393 MB / 391.4 MB, free: 30.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.986e-05/0.2163, allocations: 18.08 kB / 391.4 MB, free: 30.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2163, allocations: 15.41 kB / 391.4 MB, free: 30.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2163, allocations: 0 / 391.4 MB, free: 30.72 MB / 298.7 MB Notification: Performance of Templates: time 0.004406/0.2208, allocations: 2.756 MB / 394.2 MB, free: 28.09 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches