Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002361/0.002361, allocations: 203 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.84 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2763, allocations: 53.31 MB / 432 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004129/0.2804, allocations: 2.54 MB / 434.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2821, allocations: 0.6934 MB / 435.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.2822, allocations: 4 kB / 435.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.2824, allocations: 35.64 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.2825, allocations: 67.34 kB / 435.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.2829, allocations: 63.86 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.2833, allocations: 266.8 kB / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.2836, allocations: 79.22 kB / 435.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.2838, allocations: 99.59 kB / 435.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.284, allocations: 111.5 kB / 436 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.284, allocations: 24 kB / 436 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2841, allocations: 24 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.2842, allocations: 43.84 kB / 436.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2844, allocations: 123.4 kB / 436.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.2849, allocations: 257.1 kB / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2849, allocations: 4 kB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2849, allocations: 0 / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2849, allocations: 0 / 436.4 MB, free: 3.016 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.001339/0.2862, allocations: 0.5417 MB / 437 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2863, allocations: 16.03 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.2864, allocations: 28.8 kB / 437 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.287, allocations: 228.4 kB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.287, allocations: 16.81 kB / 437.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.287, allocations: 24.36 kB / 437.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.2877, allocations: 230.1 kB / 437.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2877, allocations: 0 / 437.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.2877, allocations: 16 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.2877, allocations: 4 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005539/0.2883, allocations: 153.7 kB / 437.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2902, allocations: 0.8207 MB / 438.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.2908, allocations: 166.4 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.291, allocations: 76.81 kB / 438.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.2911, allocations: 0 / 438.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.2911, allocations: 30.56 kB / 438.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.2911, allocations: 4 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001225/0.2923, allocations: 339.5 kB / 439.1 MB, free: 144 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2924, allocations: 55.41 kB / 439.2 MB, free: 76 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.2926, allocations: 174.7 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.2927, allocations: 29.7 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2928, allocations: 152.2 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/0.2929, allocations: 59.48 kB / 439.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.293, allocations: 41.7 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2931, allocations: 330.8 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.2934, allocations: 51.97 kB / 440 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2936, allocations: 88.25 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.2941, allocations: 144.2 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2941, allocations: 0 / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006923/0.2948, allocations: 224.9 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.2948, allocations: 11.94 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2948, allocations: 3.984 kB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.2951, allocations: 28.84 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2953, allocations: 35.97 kB / 440.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.2971, allocations: 1.466 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.2974, allocations: 39.89 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2974, allocations: 4 kB / 442 MB, free: 13 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.0002035/0.2976, allocations: 133.8 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.2977, allocations: 15.91 kB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.2977, allocations: 25.86 kB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2978, allocations: 0 / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2978, allocations: 0 / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2978, allocations: 7.938 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.2989, allocations: 0.5186 MB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2989, allocations: 0 / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2992, allocations: 27.98 kB / 442.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.2993, allocations: 32.84 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.2993, allocations: 7.938 kB / 442.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.301, allocations: 1.465 MB / 444.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.301, allocations: 8 kB / 444.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008989/0.3019, allocations: 352 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.3021, allocations: 105 kB / 444.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.3021, allocations: 4 kB / 444.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.3024, allocations: 24.03 kB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.3025, allocations: 15.98 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3025, allocations: 4 kB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3027, allocations: 132.3 kB / 444.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3027, allocations: 3.938 kB / 444.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.3032, allocations: 55.89 kB / 444.9 MB, free: 9.82 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.0001685/0.3033, allocations: 103.2 kB / 445 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.3041, allocations: 262.4 kB / 445.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3041, allocations: 0 / 445.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.3045, allocations: 178.8 kB / 445.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.305, allocations: 39.86 kB / 445.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.3063, allocations: 464.8 kB / 446 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.3068, allocations: 0.7359 MB / 446.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3069, allocations: 13.55 kB / 446.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.3069, allocations: 15.44 kB / 446.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3069, allocations: 0 / 446.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Templates: time 0.009232/0.3162, allocations: 2.549 MB / 449.3 MB, free: 5.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.5673540267162025]