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.0007293/0.0007293, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001701, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006307/0.0006307, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008339/0.001465, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.993/0.993, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08285/1.076, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.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.673e-06/1.673e-06, allocations: 3.938 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.443e-05, allocations: 3.859 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003956/0.003981, allocations: 2.567 MB / 242.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.005253, allocations: 0.662 MB / 242.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.005388, allocations: 4 kB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.00551, allocations: 39.64 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.005674, allocations: 67.3 kB / 242.9 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.00588, allocations: 63.89 kB / 242.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.006193, allocations: 278.6 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.006371, allocations: 82.5 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.006616, allocations: 171.6 kB / 243.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.006764, allocations: 79.77 kB / 243.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.006804, allocations: 20 kB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.00691, allocations: 28 kB / 243.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.00695, allocations: 35.88 kB / 243.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.007032, allocations: 67.88 kB / 243.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.007322, allocations: 167.4 kB / 243.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745e-05/0.007339, allocations: 0 / 243.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007341, allocations: 0 / 243.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.007361, allocations: 0 / 243.8 MB, free: 14.85 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.0007819/0.008142, allocations: 492 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.008179, allocations: 8.031 kB / 244.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.008363, allocations: 110 kB / 244.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.008594, allocations: 169.2 kB / 244.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.008613, allocations: 16.88 kB / 244.6 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.008653, allocations: 24.38 kB / 244.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.008973, allocations: 213.7 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.008987, allocations: 192 / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.009005, allocations: 8.375 kB / 244.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.009017, allocations: 11.94 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.009157, allocations: 57.41 kB / 244.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.01011, allocations: 0.569 MB / 245.5 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01034, allocations: 102.5 kB / 245.6 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.01041, allocations: 40.77 kB / 245.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.01042, allocations: 4 kB / 245.6 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.01045, allocations: 38.56 kB / 245.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.01045, allocations: 0 / 245.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004431/0.0109, allocations: 153.8 kB / 245.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.01093, allocations: 55.41 kB / 245.9 MB, free: 12.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.01105, allocations: 167.2 kB / 246.1 MB, free: 12.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.01107, allocations: 29.7 kB / 246.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.01115, allocations: 140.3 kB / 246.2 MB, free: 12.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.0112, allocations: 63.45 kB / 246.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.01126, allocations: 37.7 kB / 246.3 MB, free: 12.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.01135, allocations: 330.8 kB / 246.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.01139, allocations: 15.98 kB / 246.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.01146, allocations: 63.39 kB / 246.7 MB, free: 11.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.01156, allocations: 86.36 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.01157, allocations: 3.938 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002317/0.0118, allocations: 130.3 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01182, allocations: 8 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01182, allocations: 0 / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.01202, allocations: 24.84 kB / 247 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.01221, allocations: 43.91 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008013/0.01301, allocations: 1.217 MB / 248.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.01308, allocations: 27.89 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01308, allocations: 4 kB / 248.3 MB, free: 10.11 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 7.618e-05/0.01316, allocations: 125.8 kB / 248.4 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.01318, allocations: 15.92 kB / 248.4 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.01321, allocations: 29.73 kB / 248.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01321, allocations: 144 / 248.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01322, allocations: 0 / 248.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01322, allocations: 3.984 kB / 248.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.0135, allocations: 307.4 kB / 248.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.0135, allocations: 0 / 248.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.0136, allocations: 31.92 kB / 248.8 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01364, allocations: 11.91 kB / 248.8 MB, free: 9.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.032e-05/0.01373, allocations: 32.83 kB / 248.8 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01373, allocations: 0 / 248.8 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005418/0.01428, allocations: 1.225 MB / 250 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01428, allocations: 0 / 250 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.01445, allocations: 232.1 kB / 250.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.01447, allocations: 4 kB / 250.3 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.01454, allocations: 11.98 kB / 250.3 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.01458, allocations: 15.97 kB / 250.3 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01459, allocations: 4 kB / 250.3 MB, free: 7.934 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.01462, allocations: 46.52 kB / 250.3 MB, free: 7.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01462, allocations: 0 / 250.3 MB, free: 7.887 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01481, allocations: 55.89 kB / 250.4 MB, free: 7.832 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 0.0001176/0.01493, allocations: 88.48 kB / 250.5 MB, free: 7.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.01516, allocations: 204.3 kB / 250.7 MB, free: 7.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.01517, allocations: 7.984 kB / 250.7 MB, free: 7.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.123e-05/0.01526, allocations: 167.7 kB / 250.8 MB, free: 7.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.01544, allocations: 35.98 kB / 250.9 MB, free: 7.305 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.01788, allocations: 400.7 kB / 251.3 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.01793, allocations: 83.83 kB / 251.4 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.01798, allocations: 13.48 kB / 251.4 MB, free: 6.773 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.01807, allocations: 79.3 kB / 251.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01807, allocations: 0 / 251.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of Templates: time 0.004709/0.02278, allocations: 2.689 MB / 254.1 MB, free: 4.047 MB / 250.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 -ignoreHideResult -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.627006944268942]