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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 147.3 kB / 24.9 MB, free: 8.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.969/0.969, allocations: 173.3 MB / 201.5 MB, free: 9.18 MB / 186.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.163e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.0041/0.004121, allocations: 2.527 MB / 271 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.005387, allocations: 0.6503 MB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.005519, allocations: 4 kB / 271.6 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.005664, allocations: 39.58 kB / 271.7 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.005825, allocations: 63.36 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.006101, allocations: 75.77 kB / 271.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.006419, allocations: 278.6 kB / 272.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.006586, allocations: 78.5 kB / 272.2 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.006793, allocations: 151.7 kB / 272.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.006948, allocations: 75.78 kB / 272.4 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.006984, allocations: 20 kB / 272.4 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.00706, allocations: 28 kB / 272.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.007108, allocations: 47.83 kB / 272.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.668e-05/0.007194, allocations: 87.75 kB / 272.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.007461, allocations: 175.4 kB / 272.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.007463, allocations: 4 kB / 272.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007464, allocations: 0 / 272.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007469, allocations: 4 kB / 272.7 MB, free: 1.883 MB / 250.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.0005949/0.008064, allocations: 432.3 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.008098, allocations: 8.031 kB / 273.2 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.008229, allocations: 48.78 kB / 273.2 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.008444, allocations: 153.5 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.008463, allocations: 16.88 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.008502, allocations: 24.38 kB / 273.4 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.008776, allocations: 217.6 kB / 273.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.00879, allocations: 192 / 273.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.00881, allocations: 8.375 kB / 273.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.008821, allocations: 7.938 kB / 273.6 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.008955, allocations: 65.41 kB / 273.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.009828, allocations: 0.5768 MB / 274.3 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.01003, allocations: 102.5 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.01008, allocations: 32.84 kB / 274.4 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.0101, allocations: 4 kB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.01012, allocations: 34.56 kB / 274.4 MB, free: 52 kB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.01013, allocations: 4 kB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000434/0.01056, allocations: 153.5 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.01059, allocations: 55.41 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01072, allocations: 159.3 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01074, allocations: 29.7 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.01082, allocations: 144.3 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.01087, allocations: 59.45 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.01093, allocations: 45.69 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.01102, allocations: 326.8 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.01105, allocations: 15.98 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.01111, allocations: 55.27 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.01122, allocations: 90.98 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.01122, allocations: 3.938 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002096/0.01143, allocations: 126.4 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01145, allocations: 8 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01146, allocations: 0 / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.01163, allocations: 28.83 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01174, allocations: 35.92 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008738/0.01261, allocations: 1.222 MB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.613e-05/0.0127, allocations: 23.84 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01271, allocations: 4 kB / 277 MB, free: 13.3 MB / 266.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 0.0001029/0.01281, allocations: 121.8 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.01285, allocations: 12 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.01289, allocations: 29.73 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01289, allocations: 7.938 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.01289, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.0129, allocations: 4.031 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.01328, allocations: 303.4 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01329, allocations: 0 / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.01338, allocations: 23.98 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.01349, allocations: 24.83 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.0135, allocations: 8 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007199/0.01422, allocations: 1.217 MB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01422, allocations: 0 / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01447, allocations: 232.2 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.01452, allocations: 19.84 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01454, allocations: 3.938 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01465, allocations: 15.98 kB / 279 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.0147, allocations: 19.97 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01471, allocations: 3.984 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.01475, allocations: 42.52 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01475, allocations: 0 / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.01506, allocations: 63.89 kB / 279.1 MB, free: 11.02 MB / 266.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 0.0001169/0.01517, allocations: 84.34 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01545, allocations: 203.2 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.01545, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.01559, allocations: 175.2 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.01584, allocations: 31.86 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000851/0.01669, allocations: 412.6 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.076e-05/0.01675, allocations: 79.98 kB / 280.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.01681, allocations: 13.48 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01692, allocations: 79.36 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01692, allocations: 0 / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of Templates: time 0.005624/0.02254, allocations: 2.547 MB / 282.7 MB, free: 7.375 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.75833630701527]