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.001041/0.001041, allocations: 116 kB / 17.75 MB, free: 5.223 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.001066/0.001066, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009507/0.0009507, allocations: 39.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2144, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003449/0.2179, allocations: 2.504 MB / 403.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.219, allocations: 0.635 MB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2191, allocations: 7.938 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2193, allocations: 31.66 kB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2194, allocations: 75.33 kB / 404.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2197, allocations: 63.86 kB / 404.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.22, allocations: 262.8 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.2202, allocations: 111.3 kB / 405.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2203, allocations: 91.72 kB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2205, allocations: 115.5 kB / 405.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.2205, allocations: 24 kB / 405.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.2206, allocations: 24 kB / 405.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.2207, allocations: 47.78 kB / 405.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2208, allocations: 119.4 kB / 405.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.2211, allocations: 256.3 kB / 405.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.2211, allocations: 0 / 405.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2211, allocations: 0 / 405.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2211, allocations: 0 / 405.7 MB, free: 4.5 MB / 318.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.0009462/0.2221, allocations: 0.5459 MB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2221, allocations: 11.89 kB / 406.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2222, allocations: 24.66 kB / 406.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2225, allocations: 244.3 kB / 406.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2226, allocations: 12.81 kB / 406.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.2226, allocations: 24.38 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004456/0.2231, allocations: 226.2 kB / 406.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2231, allocations: 0 / 406.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2231, allocations: 12 kB / 406.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2231, allocations: 4 kB / 406.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.2235, allocations: 165.6 kB / 407 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2248, allocations: 0.8049 MB / 407.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.2251, allocations: 158.5 kB / 408 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.2253, allocations: 84.81 kB / 408 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.2254, allocations: 4 kB / 408 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2254, allocations: 34.56 kB / 408.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.2254, allocations: 0 / 408.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008492/0.2262, allocations: 342.5 kB / 408.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.2263, allocations: 51.41 kB / 408.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2264, allocations: 187.1 kB / 408.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2265, allocations: 29.64 kB / 408.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.2266, allocations: 148.1 kB / 408.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.2266, allocations: 51.2 kB / 408.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/0.2267, allocations: 41.7 kB / 408.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2268, allocations: 334.8 kB / 409.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2269, allocations: 47.97 kB / 409.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2271, allocations: 92.25 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2274, allocations: 144.1 kB / 409.5 MB, free: 440 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2274, allocations: 4 kB / 409.5 MB, free: 436 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004628/0.2279, allocations: 220.9 kB / 409.7 MB, free: 208 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2279, allocations: 11.94 kB / 409.7 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2279, allocations: 0 / 409.7 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.2281, allocations: 36.83 kB / 409.8 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.2283, allocations: 35.91 kB / 409.8 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.2295, allocations: 1.465 MB / 411.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.2297, allocations: 35.75 kB / 411.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2297, allocations: 12 kB / 411.3 MB, free: 14.46 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.0001121/0.2298, allocations: 133.8 kB / 411.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2298, allocations: 15.81 kB / 411.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.2299, allocations: 21.88 kB / 411.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2299, allocations: 3.984 kB / 411.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2299, allocations: 0 / 411.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.23, allocations: 100.8 kB / 411.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.23, allocations: 11.94 kB / 411.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2303, allocations: 23.97 kB / 411.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.2303, allocations: 15.98 kB / 411.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006467/0.231, allocations: 281.8 kB / 411.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000551/0.2315, allocations: 408.4 kB / 412.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001463/0.2317, allocations: 56.02 kB / 412.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.2318, allocations: 132.3 kB / 412.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2318, allocations: 0 / 412.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.2325, allocations: 303.7 kB / 412.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009037/0.2334, allocations: 0.911 MB / 413.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Templates: time 0.005666/0.2391, allocations: 2.536 MB / 416.2 MB, free: 9.434 MB / 334.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/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