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.0009361/0.0009361, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.000947/0.000947, allocations: 148.9 kB / 24.81 MB, free: 9.27 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.9984/0.9984, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.693e-06/1.693e-06, allocations: 0 / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.247e-05, allocations: 2.312 kB / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002402/0.002415, allocations: 2.521 MB / 270.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.003162, allocations: 0.6389 MB / 271.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003267, allocations: 4 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.00339, allocations: 39.58 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.003485, allocations: 67.36 kB / 271.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.003674, allocations: 67.78 kB / 271.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.003878, allocations: 274.6 kB / 272 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.004013, allocations: 71.89 kB / 272.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.004149, allocations: 159.6 kB / 272.2 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.004264, allocations: 83.78 kB / 272.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.004292, allocations: 20 kB / 272.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.004354, allocations: 24 kB / 272.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.004392, allocations: 47.83 kB / 272.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.004448, allocations: 87.77 kB / 272.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004637, allocations: 175.4 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004639, allocations: 0 / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.00464, allocations: 0 / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.004642, allocations: 4 kB / 272.6 MB, free: 1.941 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.0004987/0.005141, allocations: 0.5546 MB / 273.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.005173, allocations: 8.031 kB / 273.2 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.005267, allocations: 44.73 kB / 273.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.005416, allocations: 180.2 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005429, allocations: 16.81 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.005455, allocations: 28.38 kB / 273.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.005662, allocations: 215.4 kB / 273.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.005672, allocations: 192 / 273.7 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.005687, allocations: 12.38 kB / 273.7 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.005694, allocations: 7.938 kB / 273.7 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.005786, allocations: 69.38 kB / 273.8 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.006449, allocations: 0.7468 MB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.006607, allocations: 115.1 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.00665, allocations: 43.67 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.00666, allocations: 4 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.00668, allocations: 37.39 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.006681, allocations: 3.938 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003062/0.006987, allocations: 176.6 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.007009, allocations: 55.41 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.007102, allocations: 214.4 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.007118, allocations: 33.7 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.00719, allocations: 199 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.007221, allocations: 55.53 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.007264, allocations: 39.36 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.007371, allocations: 0.5001 MB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.0074, allocations: 27.98 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.00745, allocations: 69.22 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.007533, allocations: 97.09 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007535, allocations: 0 / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001626/0.007697, allocations: 161.1 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.007706, allocations: 8.031 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.00771, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.007827, allocations: 31.67 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.007901, allocations: 31.92 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007983/0.0087, allocations: 1.776 MB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.008758, allocations: 28.06 kB / 278.2 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.008766, allocations: 8 kB / 278.2 MB, free: 11.99 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 7.704e-05/0.008843, allocations: 172.5 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.008869, allocations: 23.78 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.008891, allocations: 21.81 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.008892, allocations: 0 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008895, allocations: 4 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008898, allocations: 0 / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.009195, allocations: 413.4 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009197, allocations: 0 / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.009261, allocations: 23.98 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.009399, allocations: 27.67 kB / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.009405, allocations: 0 / 278.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007354/0.01014, allocations: 1.772 MB / 280.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01014, allocations: 8.109 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.01034, allocations: 311.3 kB / 281 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.01037, allocations: 23.83 kB / 281 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.01038, allocations: 8 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.01045, allocations: 11.98 kB / 281 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01049, allocations: 15.97 kB / 281 MB, free: 8.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.01049, allocations: 8 kB / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.01054, allocations: 152.8 kB / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01054, allocations: 0 / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01072, allocations: 67.86 kB / 281.2 MB, free: 8.758 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 6.457e-05/0.01079, allocations: 103.2 kB / 281.3 MB, free: 8.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.011, allocations: 264.7 kB / 281.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.011, allocations: 0 / 281.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01111, allocations: 224.4 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.0113, allocations: 28.19 kB / 281.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.01186, allocations: 411.7 kB / 282.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.0119, allocations: 79.98 kB / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01194, allocations: 17.47 kB / 282.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.01203, allocations: 102.2 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01203, allocations: 0 / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of Templates: time 0.004327/0.01636, allocations: 2.615 MB / 285.1 MB, free: 4.891 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6713800788857043]