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.002539/0.002539, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002715/0.002715, allocations: 153.1 kB / 24.27 MB, free: 164 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.56/1.56, allocations: 173.3 MB / 200.8 MB, free: 9.332 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 1.202e-06/1.202e-06, allocations: 0 / 267.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.439e-05, allocations: 2.312 kB / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004219/0.004243, allocations: 2.509 MB / 269.8 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.005526, allocations: 0.631 MB / 270.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.005657, allocations: 4 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.005828, allocations: 35.64 kB / 270.5 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.005983, allocations: 71.3 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.006236, allocations: 71.78 kB / 270.6 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.006584, allocations: 278.6 kB / 270.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.006785, allocations: 68.8 kB / 270.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.007001, allocations: 151.7 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.007168, allocations: 83.78 kB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.007213, allocations: 20 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.0073, allocations: 27.94 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.00736, allocations: 47.83 kB / 271.3 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.00747, allocations: 83.83 kB / 271.4 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.007868, allocations: 275 kB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.007871, allocations: 0 / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007872, allocations: 0 / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.007877, allocations: 0 / 271.6 MB, free: 2.402 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.001003/0.008879, allocations: 0.5622 MB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.008917, allocations: 12.03 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.009078, allocations: 48.8 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.009369, allocations: 176.7 kB / 272.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.009391, allocations: 16.88 kB / 272.4 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.009438, allocations: 24.36 kB / 272.5 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.009912, allocations: 262.7 kB / 272.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.00993, allocations: 4.172 kB / 272.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.009954, allocations: 8.375 kB / 272.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.009964, allocations: 7.938 kB / 272.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.01032, allocations: 149.9 kB / 272.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.01172, allocations: 0.8243 MB / 273.7 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.01211, allocations: 159.1 kB / 273.9 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.0123, allocations: 74.98 kB / 273.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.01232, allocations: 7.984 kB / 273.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.01236, allocations: 37.39 kB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.01236, allocations: 0 / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008046/0.01316, allocations: 253 kB / 274.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.01321, allocations: 55.41 kB / 274.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.01342, allocations: 226.6 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.01345, allocations: 33.7 kB / 274.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.0136, allocations: 195.1 kB / 274.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.01366, allocations: 59.48 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.01374, allocations: 51.36 kB / 274.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.014, allocations: 0.4962 MB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.01425, allocations: 47.97 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.01442, allocations: 109.3 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.0147, allocations: 153.3 kB / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0147, allocations: 0 / 275.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004525/0.01516, allocations: 221 kB / 275.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01517, allocations: 4 kB / 275.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.01518, allocations: 4 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.01541, allocations: 39.78 kB / 275.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01555, allocations: 35.92 kB / 275.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.01721, allocations: 1.865 MB / 277.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01734, allocations: 23.89 kB / 277.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.01735, allocations: 4 kB / 277.8 MB, free: 11.8 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.0001663/0.01752, allocations: 184.5 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.01758, allocations: 31.83 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.01763, allocations: 21.81 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01764, allocations: 0 / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01764, allocations: 0 / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01764, allocations: 0 / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.0184, allocations: 0.4969 MB / 278.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0184, allocations: 0 / 278.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01853, allocations: 31.98 kB / 278.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.01867, allocations: 35.61 kB / 278.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.01869, allocations: 7.984 kB / 278.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.02026, allocations: 1.869 MB / 280.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.02026, allocations: 0 / 280.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.0209, allocations: 399.4 kB / 280.9 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.02096, allocations: 23.83 kB / 280.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.02098, allocations: 4 kB / 280.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.02113, allocations: 15.98 kB / 280.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.02119, allocations: 15.97 kB / 280.9 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.0212, allocations: 4 kB / 280.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.02134, allocations: 164.8 kB / 281.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02134, allocations: 0 / 281.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.02166, allocations: 71.78 kB / 281.2 MB, free: 8.227 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.0001253/0.02178, allocations: 99.28 kB / 281.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.02234, allocations: 319.8 kB / 281.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02234, allocations: 3.938 kB / 281.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.02266, allocations: 253.4 kB / 281.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.02296, allocations: 34.89 kB / 281.9 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.02377, allocations: 433.5 kB / 282.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.0239, allocations: 125.2 kB / 282.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.02409, allocations: 9.5 kB / 282.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.02414, allocations: 16.5 kB / 282.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.02415, allocations: 0 / 282.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of Templates: time 0.006785/0.03093, allocations: 2.433 MB / 284.9 MB, free: 4.477 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=240 -emit_protected -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","/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.563166897976771]