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.001477/0.001477, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001519/0.001519, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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 1.438/1.438, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 178] 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 2.224e-06/2.224e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.318e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.007386/0.00742, allocations: 2.391 MB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.009405, allocations: 0.6232 MB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.009564, allocations: 4 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.009804, allocations: 39.58 kB / 270.4 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.01009, allocations: 75.34 kB / 270.4 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.01048, allocations: 67.78 kB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000533/0.01101, allocations: 278.5 kB / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.01129, allocations: 68.78 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.01165, allocations: 147.7 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.01194, allocations: 83.77 kB / 271.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.01201, allocations: 20 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.01216, allocations: 24 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.301e-05/0.01225, allocations: 51.83 kB / 271.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.01244, allocations: 87.77 kB / 271.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.01305, allocations: 259.2 kB / 271.5 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01305, allocations: 0 / 271.5 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01305, allocations: 0 / 271.5 MB, free: 2.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01306, allocations: 0 / 271.5 MB, free: 2.492 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.001627/0.01469, allocations: 481.7 kB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.01474, allocations: 8.031 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.01498, allocations: 44.73 kB / 272 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.01549, allocations: 181.9 kB / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.01553, allocations: 16.88 kB / 272.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.01561, allocations: 28.31 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.01644, allocations: 249 kB / 272.5 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01647, allocations: 4.188 kB / 272.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.01651, allocations: 8.375 kB / 272.5 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.01653, allocations: 7.938 kB / 272.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.01726, allocations: 161.8 kB / 272.7 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.01955, allocations: 0.6936 MB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.02026, allocations: 150.5 kB / 273.5 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.02061, allocations: 76.81 kB / 273.6 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.02064, allocations: 7.984 kB / 273.6 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.0207, allocations: 34.5 kB / 273.6 MB, free: 232 kB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.0207, allocations: 0 / 273.6 MB, free: 232 kB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001532/0.02223, allocations: 265.8 kB / 273.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.0223, allocations: 59.28 kB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.02258, allocations: 163.2 kB / 274.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.02263, allocations: 25.7 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.02282, allocations: 148.4 kB / 274.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.02293, allocations: 63.55 kB / 274.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.02305, allocations: 37.7 kB / 274.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.02334, allocations: 326.8 kB / 274.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.02362, allocations: 47.97 kB / 274.7 MB, free: 15.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.02398, allocations: 103 kB / 274.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.02457, allocations: 139.2 kB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02458, allocations: 0 / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008899/0.02547, allocations: 230.2 kB / 275.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.02549, allocations: 4 kB / 275.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.02549, allocations: 0 / 275.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.02587, allocations: 40.78 kB / 275.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.02617, allocations: 35.91 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.02878, allocations: 1.347 MB / 276.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.02911, allocations: 31.86 kB / 276.6 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.02913, allocations: 4 kB / 276.7 MB, free: 13 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.0002261/0.02936, allocations: 133.8 kB / 276.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.02945, allocations: 19.89 kB / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.02953, allocations: 29.73 kB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.02954, allocations: 8.203 kB / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02955, allocations: 0 / 276.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.02955, allocations: 3.984 kB / 276.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.03093, allocations: 442.8 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03093, allocations: 0 / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.03121, allocations: 23.98 kB / 277.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.03147, allocations: 36.83 kB / 277.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.03149, allocations: 4 kB / 277.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.03402, allocations: 1.346 MB / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.03402, allocations: 0 / 278.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.03527, allocations: 352.1 kB / 279 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.03537, allocations: 23.95 kB / 279.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.0354, allocations: 4 kB / 279.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.03578, allocations: 23.97 kB / 279.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.03589, allocations: 23.97 kB / 279.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.03591, allocations: 7.938 kB / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.03609, allocations: 116.9 kB / 279.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.03609, allocations: 0 / 279.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006607/0.03675, allocations: 63.83 kB / 279.3 MB, free: 10.18 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.0002184/0.03697, allocations: 111.4 kB / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.03797, allocations: 260.1 kB / 279.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.03797, allocations: 0 / 279.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005413/0.03851, allocations: 186.5 kB / 279.8 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.03908, allocations: 28.23 kB / 279.9 MB, free: 9.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.04047, allocations: 420.6 kB / 280.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.04071, allocations: 121.2 kB / 280.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.04085, allocations: 17.48 kB / 280.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.259e-05/0.04093, allocations: 16.5 kB / 280.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04093, allocations: 0 / 280.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of Templates: time 0.01259/0.05352, allocations: 2.39 MB / 282.8 MB, free: 6.625 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.500411070999689]