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.0007703/0.0007703, allocations: 80.06 kB / 21.43 MB, free: 3.113 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.003149/0.003149, allocations: 145.1 kB / 24.68 MB, free: 8.926 MB / 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 0.8458/0.8458, allocations: 173.4 MB / 201.2 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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.502e-06/1.502e-06, allocations: 0 / 319.7 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.787e-05, allocations: 6.281 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002921/0.002949, allocations: 2.369 MB / 322 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.003765, allocations: 0.6234 MB / 322.7 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.00387, allocations: 4 kB / 322.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.004003, allocations: 39.58 kB / 322.7 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.004099, allocations: 71.34 kB / 322.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.004325, allocations: 71.72 kB / 322.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004544, allocations: 278.6 kB / 323.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.004707, allocations: 76.78 kB / 323.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.004832, allocations: 151.7 kB / 323.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004939, allocations: 79.77 kB / 323.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.004965, allocations: 20 kB / 323.4 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-05/0.005026, allocations: 24 kB / 323.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.00506, allocations: 51.83 kB / 323.5 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.005117, allocations: 87.75 kB / 323.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.00537, allocations: 259.2 kB / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.005373, allocations: 0 / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005374, allocations: 0 / 323.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.00538, allocations: 0 / 323.8 MB, free: 1.664 MB / 282.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.0006274/0.006007, allocations: 477.7 kB / 324.3 MB, free: 1.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006045, allocations: 15.97 kB / 324.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.006149, allocations: 32.78 kB / 324.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.00641, allocations: 173.9 kB / 324.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006424, allocations: 12.88 kB / 324.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.006454, allocations: 24.38 kB / 324.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.006749, allocations: 253 kB / 324.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.00676, allocations: 192 / 324.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.006779, allocations: 12.36 kB / 324.8 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006787, allocations: 11.94 kB / 324.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.007033, allocations: 157.8 kB / 325 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.007825, allocations: 0.6935 MB / 325.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.008088, allocations: 146.6 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.008187, allocations: 76.81 kB / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.0082, allocations: 0 / 325.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.008221, allocations: 34.56 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.008222, allocations: 0 / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005156/0.008737, allocations: 261.5 kB / 326.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.008769, allocations: 55.41 kB / 326.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.008874, allocations: 159.2 kB / 326.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.008891, allocations: 33.7 kB / 326.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.00896, allocations: 144.3 kB / 326.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.008992, allocations: 59.59 kB / 326.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.009036, allocations: 49.53 kB / 326.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003373/0.009374, allocations: 330.8 kB / 327 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.009462, allocations: 55.95 kB / 327.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.009554, allocations: 91.2 kB / 327.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.00972, allocations: 144.1 kB / 327.3 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009722, allocations: 8 kB / 327.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002631/0.009985, allocations: 209.1 kB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01, allocations: 4 kB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01001, allocations: 4 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.01016, allocations: 32.84 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.01024, allocations: 43.97 kB / 327.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/0.01101, allocations: 1.327 MB / 328.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.01109, allocations: 31.91 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.0111, allocations: 11.98 kB / 329 MB, free: 12.22 MB / 298.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.617e-05/0.01118, allocations: 133.9 kB / 329.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.01121, allocations: 19.84 kB / 329.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.01123, allocations: 25.8 kB / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01124, allocations: 0 / 329.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01124, allocations: 3.938 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01124, allocations: 4 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.01167, allocations: 438.8 kB / 329.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01167, allocations: 3.938 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.01175, allocations: 31.92 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-05/0.01184, allocations: 36.83 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.01185, allocations: 4 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/0.0125, allocations: 1.331 MB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0125, allocations: 0 / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.01283, allocations: 356.1 kB / 331.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.01288, allocations: 28 kB / 331.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.01289, allocations: 4 kB / 331.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.01298, allocations: 19.97 kB / 331.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.01302, allocations: 23.95 kB / 331.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01303, allocations: 4 kB / 331.4 MB, free: 9.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.01309, allocations: 120.9 kB / 331.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01309, allocations: 4.062 kB / 331.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000215/0.0133, allocations: 67.83 kB / 331.6 MB, free: 9.414 MB / 298.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.0001009/0.0134, allocations: 95.25 kB / 331.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.01376, allocations: 250.5 kB / 331.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01376, allocations: 0 / 331.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.01389, allocations: 198.6 kB / 332.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.01412, allocations: 31.86 kB / 332.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.01471, allocations: 443.8 kB / 332.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01479, allocations: 125.2 kB / 332.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.01482, allocations: 16.5 kB / 332.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01482, allocations: 3.938 kB / 332.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of Templates: time 0.003541/0.01837, allocations: 3.165 MB / 335.9 MB, free: 5.027 MB / 298.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.673454503528774]