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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 171.2 kB / 25.75 MB, free: 8.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9558/0.9558, allocations: 158.6 MB / 187.5 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.109e-05, allocations: 6.25 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003189/0.00322, allocations: 2.503 MB / 253.6 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.004106, allocations: 0.6358 MB / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.004222, allocations: 0 / 254.2 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.004354, allocations: 35.64 kB / 254.3 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.004466, allocations: 71.28 kB / 254.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004727, allocations: 67.89 kB / 254.4 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.004991, allocations: 274.5 kB / 254.7 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.005249, allocations: 75.94 kB / 254.7 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.005436, allocations: 147.7 kB / 254.9 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.005559, allocations: 79.72 kB / 255 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.00559, allocations: 24 kB / 255 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.005657, allocations: 28 kB / 255 MB, free: 3.863 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.005694, allocations: 47.81 kB / 255.1 MB, free: 3.816 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.005763, allocations: 79.83 kB / 255.1 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.005996, allocations: 187.3 kB / 255.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005999, allocations: 0 / 255.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006, allocations: 0 / 255.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.006005, allocations: 4 kB / 255.3 MB, free: 3.551 MB / 234.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.0006614/0.006666, allocations: 0.5469 MB / 255.9 MB, free: 2.969 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.006725, allocations: 15.98 kB / 255.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.006921, allocations: 56.62 kB / 255.9 MB, free: 2.898 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.007199, allocations: 180.6 kB / 256.1 MB, free: 2.691 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.007217, allocations: 16.88 kB / 256.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.007253, allocations: 24.38 kB / 256.2 MB, free: 2.652 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.007567, allocations: 223.4 kB / 256.4 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.00758, allocations: 192 / 256.4 MB, free: 2.41 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.007598, allocations: 8.375 kB / 256.4 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.00761, allocations: 11.94 kB / 256.4 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.007753, allocations: 82.88 kB / 256.5 MB, free: 2.312 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.008697, allocations: 0.7775 MB / 257.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.008957, allocations: 127.1 kB / 257.4 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.009042, allocations: 43.67 kB / 257.4 MB, free: 1.293 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.009058, allocations: 4 kB / 257.4 MB, free: 1.289 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.00909, allocations: 37.33 kB / 257.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.009091, allocations: 0 / 257.5 MB, free: 1.242 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004894/0.009581, allocations: 196.7 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.009609, allocations: 55.34 kB / 257.7 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.009747, allocations: 210.6 kB / 257.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.009769, allocations: 29.7 kB / 257.9 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.009865, allocations: 203 kB / 258.1 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.009904, allocations: 59.61 kB / 258.2 MB, free: 468 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.009959, allocations: 43.31 kB / 258.2 MB, free: 416 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01011, allocations: 0.4962 MB / 258.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.01017, allocations: 27.97 kB / 258.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.01025, allocations: 82.36 kB / 258.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01037, allocations: 113.5 kB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01038, allocations: 0 / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002388/0.01062, allocations: 173.1 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01063, allocations: 4 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.01064, allocations: 0 / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.01083, allocations: 35.61 kB / 259.2 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.01092, allocations: 31.92 kB / 259.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009596/0.01188, allocations: 1.795 MB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.01195, allocations: 27.98 kB / 261 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01196, allocations: 8 kB / 261 MB, free: 13.43 MB / 250.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 8.786e-05/0.01205, allocations: 164.5 kB / 261.2 MB, free: 13.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.01208, allocations: 27.84 kB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.0121, allocations: 21.81 kB / 261.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01211, allocations: 3.984 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01211, allocations: 4 kB / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01211, allocations: 0 / 261.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.01248, allocations: 440.9 kB / 261.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01248, allocations: 3.984 kB / 261.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.01256, allocations: 20 kB / 261.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.01265, allocations: 31.66 kB / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01266, allocations: 4 kB / 261.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007923/0.01345, allocations: 1.807 MB / 263.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01345, allocations: 0 / 263.5 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01372, allocations: 323.3 kB / 263.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.01375, allocations: 19.94 kB / 263.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.01377, allocations: 4 kB / 263.9 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.01385, allocations: 15.98 kB / 263.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.0139, allocations: 11.97 kB / 263.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01391, allocations: 8 kB / 263.9 MB, free: 10.33 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.01397, allocations: 160.7 kB / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01397, allocations: 4.062 kB / 264.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01417, allocations: 71.72 kB / 264.1 MB, free: 10.1 MB / 250.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 9.312e-05/0.01427, allocations: 107.2 kB / 264.2 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01456, allocations: 260 kB / 264.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01456, allocations: 0 / 264.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.01469, allocations: 241.2 kB / 264.7 MB, free: 9.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01492, allocations: 31.89 kB / 264.8 MB, free: 9.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.0157, allocations: 422.3 kB / 265.2 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.01577, allocations: 75.98 kB / 265.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.01582, allocations: 17.48 kB / 265.3 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.01586, allocations: 12.5 kB / 265.3 MB, free: 8.863 MB / 250.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01586, allocations: 4 kB / 265.3 MB, free: 8.859 MB / 250.7 MB Notification: Performance of Templates: time 0.004296/0.02015, allocations: 2.425 MB / 267.7 MB, free: 6.465 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.846093313070014]