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.001527/0.001527, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001791/0.001791, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00174/0.00174, allocations: 51.92 kB / 374.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1092, allocations: 53.32 MB / 427.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004571/0.1138, allocations: 2.529 MB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1154, allocations: 0.6934 MB / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.1156, allocations: 0 / 430.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1158, allocations: 31.66 kB / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.116, allocations: 67.34 kB / 430.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1163, allocations: 67.84 kB / 430.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.1167, allocations: 270.7 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1169, allocations: 79.42 kB / 431.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1171, allocations: 91.72 kB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1173, allocations: 111.5 kB / 431.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.1173, allocations: 20 kB / 431.4 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-05/0.1174, allocations: 27.94 kB / 431.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.1174, allocations: 51.83 kB / 431.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.1176, allocations: 119.4 kB / 431.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.118, allocations: 258.9 kB / 431.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.118, allocations: 0 / 431.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.118, allocations: 0 / 431.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.118, allocations: 3.938 kB / 431.9 MB, free: 15.9 MB / 366.1 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.001125/0.1192, allocations: 0.5496 MB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1192, allocations: 8.031 kB / 432.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1193, allocations: 28.8 kB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1197, allocations: 232.4 kB / 432.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1197, allocations: 16.81 kB / 432.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.1198, allocations: 16.38 kB / 432.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.1204, allocations: 234.2 kB / 432.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.1204, allocations: 4 kB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1204, allocations: 4 kB / 432.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1205, allocations: 11.98 kB / 433 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1209, allocations: 157.6 kB / 433.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.1224, allocations: 0.8207 MB / 433.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1228, allocations: 158.5 kB / 434.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.123, allocations: 72.81 kB / 434.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1231, allocations: 4 kB / 434.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1231, allocations: 30.56 kB / 434.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.1231, allocations: 0 / 434.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009514/0.124, allocations: 335.3 kB / 434.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.1241, allocations: 55.41 kB / 434.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1243, allocations: 183.1 kB / 434.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1243, allocations: 29.7 kB / 434.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1244, allocations: 148.3 kB / 434.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.1245, allocations: 59.48 kB / 435 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.1245, allocations: 45.7 kB / 435 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1247, allocations: 322.8 kB / 435.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1249, allocations: 55.97 kB / 435.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.125, allocations: 92.19 kB / 435.5 MB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.1254, allocations: 140.2 kB / 435.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1254, allocations: 0 / 435.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005092/0.1259, allocations: 228.3 kB / 435.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1259, allocations: 4 kB / 435.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1259, allocations: 4 kB / 435.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.1261, allocations: 32.78 kB / 435.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1263, allocations: 39.91 kB / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.1277, allocations: 1.465 MB / 437.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1279, allocations: 43.84 kB / 437.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1279, allocations: 8 kB / 437.4 MB, free: 9.867 MB / 366.1 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.0001283/0.128, allocations: 125.8 kB / 437.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1281, allocations: 15.91 kB / 437.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.1281, allocations: 21.86 kB / 437.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1281, allocations: 4 kB / 437.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1281, allocations: 4 kB / 437.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1281, allocations: 3.938 kB / 437.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.129, allocations: 0.5128 MB / 438.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.129, allocations: 4 kB / 438.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1291, allocations: 31.91 kB / 438.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1292, allocations: 28.84 kB / 438.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1293, allocations: 8 kB / 438.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.1307, allocations: 1.465 MB / 439.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.1307, allocations: 3.938 kB / 439.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000743/0.1315, allocations: 348.1 kB / 440 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.1316, allocations: 109 kB / 440.1 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1316, allocations: 16.11 kB / 440.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1318, allocations: 15.98 kB / 440.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.1319, allocations: 19.97 kB / 440.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1319, allocations: 4 kB / 440.2 MB, free: 6.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.132, allocations: 128.3 kB / 440.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.132, allocations: 0 / 440.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1323, allocations: 63.89 kB / 440.4 MB, free: 6.703 MB / 366.1 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.0001216/0.1324, allocations: 99.25 kB / 440.5 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.1331, allocations: 256.5 kB / 440.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1331, allocations: 3.938 kB / 440.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.1334, allocations: 186.8 kB / 440.9 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1337, allocations: 31.91 kB / 440.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.1347, allocations: 497.8 kB / 441.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1351, allocations: 0.7359 MB / 442.1 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.1351, allocations: 19.38 kB / 442.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1351, allocations: 0 / 442.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of Templates: time 0.005818/0.1409, allocations: 3.174 MB / 445.3 MB, free: 1.637 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.599087524984498]