Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008811/0.0008811, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008761/0.0008761, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9733/0.9733, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.824e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002734/0.002763, allocations: 2.561 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008667/0.003629, allocations: 0.6661 MB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.003735, allocations: 4 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.003866, allocations: 31.64 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003967, allocations: 75.28 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.004204, allocations: 71.84 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.004424, allocations: 274.6 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.004579, allocations: 67.95 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.00471, allocations: 151.7 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004818, allocations: 83.72 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.004846, allocations: 20 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.004909, allocations: 24 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.004945, allocations: 47.83 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.005024, allocations: 79.83 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.00525, allocations: 187.2 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005251, allocations: 4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005252, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.005256, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.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.0005804/0.005836, allocations: 0.5469 MB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005874, allocations: 12.03 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.006006, allocations: 48.73 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.006215, allocations: 189.4 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.006231, allocations: 16.88 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.006266, allocations: 20.38 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.006541, allocations: 231.4 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006552, allocations: 192 / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.006569, allocations: 4.375 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.006582, allocations: 11.94 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.006724, allocations: 86.88 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.00753, allocations: 0.7736 MB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.007753, allocations: 127.1 kB / 279.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.007819, allocations: 51.59 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.007833, allocations: 4 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.007858, allocations: 45.39 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.00786, allocations: 0 / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004422/0.008302, allocations: 189 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.008328, allocations: 51.41 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.008455, allocations: 214.6 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.008472, allocations: 29.7 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.008553, allocations: 199.1 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.008586, allocations: 63.48 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.008635, allocations: 47.3 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.008754, allocations: 0.4962 MB / 280.7 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.008798, allocations: 19.98 kB / 280.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.00887, allocations: 82.34 kB / 280.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.008979, allocations: 107.9 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008982, allocations: 0 / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002015/0.009183, allocations: 173 kB / 281.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.009195, allocations: 4 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.0092, allocations: 4 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.009361, allocations: 31.66 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.009443, allocations: 35.86 kB / 281.2 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.01028, allocations: 1.799 MB / 283 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.01035, allocations: 19.89 kB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.01035, allocations: 8 kB / 283 MB, free: 7.051 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 8.961e-05/0.01044, allocations: 176.5 kB / 283.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.01047, allocations: 19.84 kB / 283.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.0105, allocations: 21.81 kB / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.0105, allocations: 0 / 283.2 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.0105, allocations: 8.031 kB / 283.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01051, allocations: 0 / 283.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.01088, allocations: 447.9 kB / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01088, allocations: 0 / 283.6 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.01096, allocations: 27.98 kB / 283.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.313e-05/0.01105, allocations: 31.66 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01107, allocations: 4 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007459/0.01181, allocations: 1.807 MB / 285.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01181, allocations: 0 / 285.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.01206, allocations: 325.7 kB / 285.8 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.0121, allocations: 23.83 kB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.01211, allocations: 8 kB / 285.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.01218, allocations: 11.98 kB / 285.9 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01223, allocations: 15.97 kB / 285.9 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.01223, allocations: 8.062 kB / 285.9 MB, free: 3.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.01229, allocations: 160.8 kB / 286.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01229, allocations: 0 / 286.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.0125, allocations: 67.78 kB / 286.1 MB, free: 3.711 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 8.228e-05/0.01258, allocations: 103.2 kB / 286.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.01288, allocations: 267 kB / 286.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01288, allocations: 256 / 286.5 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.013, allocations: 241.3 kB / 286.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01322, allocations: 27.98 kB / 286.7 MB, free: 3.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.01398, allocations: 418.3 kB / 287.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.748e-05/0.01402, allocations: 79.97 kB / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.01407, allocations: 13.48 kB / 287.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.01411, allocations: 16.5 kB / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01411, allocations: 0 / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of Templates: time 0.004183/0.01829, allocations: 2.418 MB / 289.7 MB, free: 104 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.900731571018696]