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.001647/0.001647, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.001885/0.001885, allocations: 156.3 kB / 24.48 MB, free: 3.461 MB / 14.72 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.408/1.408, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 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 0.001812/0.001812, allocations: 51.39 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08835, allocations: 52.16 MB / 371.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003905/0.09225, allocations: 2.386 MB / 373.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.09349, allocations: 0.6156 MB / 374.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.09363, allocations: 4 kB / 374.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.09383, allocations: 35.64 kB / 374.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.09398, allocations: 71.34 kB / 374.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.09425, allocations: 71.84 kB / 374.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.09459, allocations: 262.7 kB / 375 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.09479, allocations: 68.8 kB / 375.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.09492, allocations: 99.7 kB / 375.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.0951, allocations: 91.55 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.09514, allocations: 24 kB / 375.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.09523, allocations: 27.94 kB / 375.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.09529, allocations: 51.81 kB / 375.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.0954, allocations: 99.53 kB / 375.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.09573, allocations: 259 kB / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.09574, allocations: 0 / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09574, allocations: 0 / 375.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.09575, allocations: 0 / 375.7 MB, free: 3.203 MB / 334.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.0009739/0.09672, allocations: 493.6 kB / 376.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.09675, allocations: 8.031 kB / 376.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.09686, allocations: 28.8 kB / 376.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.09716, allocations: 174.7 kB / 376.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.09718, allocations: 12.88 kB / 376.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.09722, allocations: 20.38 kB / 376.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.09769, allocations: 260.8 kB / 376.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.09771, allocations: 0 / 376.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.09773, allocations: 15.98 kB / 376.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.09774, allocations: 4 kB / 376.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.09815, allocations: 161.8 kB / 376.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.09943, allocations: 0.6897 MB / 377.5 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.09984, allocations: 154.5 kB / 377.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1, allocations: 72.81 kB / 377.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.1, allocations: 4 kB / 377.8 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1001, allocations: 34.56 kB / 377.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1001, allocations: 3.938 kB / 377.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008404/0.1009, allocations: 265.8 kB / 378.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1009, allocations: 51.41 kB / 378.1 MB, free: 0.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1011, allocations: 167.2 kB / 378.3 MB, free: 464 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1011, allocations: 29.7 kB / 378.3 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1012, allocations: 152.3 kB / 378.5 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.1013, allocations: 55.58 kB / 378.5 MB, free: 216 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.1013, allocations: 37.67 kB / 378.5 MB, free: 172 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1015, allocations: 322.8 kB / 378.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1017, allocations: 63.89 kB / 378.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1019, allocations: 92.2 kB / 379 MB, free: 15.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.1022, allocations: 140.2 kB / 379.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1022, allocations: 0 / 379.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004946/0.1027, allocations: 217.1 kB / 379.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1027, allocations: 11.94 kB / 379.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1027, allocations: 0 / 379.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/0.1029, allocations: 32.83 kB / 379.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1031, allocations: 39.92 kB / 379.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.1043, allocations: 1.347 MB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1045, allocations: 31.97 kB / 380.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1045, allocations: 4 kB / 380.8 MB, free: 13.73 MB / 350.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.0001301/0.1047, allocations: 133.8 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1047, allocations: 15.91 kB / 381 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.1048, allocations: 21.8 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1048, allocations: 4 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1048, allocations: 0 / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1048, allocations: 0 / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007399/0.1055, allocations: 442.8 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1055, allocations: 0 / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.1057, allocations: 27.92 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.1058, allocations: 32.83 kB / 381.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1058, allocations: 11.94 kB / 381.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.107, allocations: 1.347 MB / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.107, allocations: 0 / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.1077, allocations: 352 kB / 383.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.1078, allocations: 27.92 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1078, allocations: 0 / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.108, allocations: 28.09 kB / 383.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.108, allocations: 15.91 kB / 383.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1081, allocations: 8 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1082, allocations: 116 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1082, allocations: 0 / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1085, allocations: 63.83 kB / 383.4 MB, free: 10.93 MB / 350.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.0001084/0.1086, allocations: 99.25 kB / 383.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005545/0.1092, allocations: 250.5 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1092, allocations: 4 kB / 383.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.1095, allocations: 190.5 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1098, allocations: 23.98 kB / 384 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.1106, allocations: 482.6 kB / 384.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.1108, allocations: 129.2 kB / 384.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.6e-05/0.1108, allocations: 9.5 kB / 384.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.1109, allocations: 20.48 kB / 384.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1109, allocations: 3.938 kB / 384.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Templates: time 0.00637/0.1172, allocations: 2.361 MB / 387 MB, free: 7.352 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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.301975399022922]