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.008977/0.008977, allocations: 103.7 kB / 21.97 MB, free: 5.207 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.00237/0.00237, allocations: 224 kB / 25.3 MB, free: 3.211 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.501/1.501, allocations: 230.6 MB / 259 MB, free: 8.031 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.001901/0.001901, allocations: 63.89 kB / 379.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2451, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004138/0.2493, allocations: 2.543 MB / 435.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2506, allocations: 0.7012 MB / 436.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2507, allocations: 4 kB / 436.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.2509, allocations: 35.58 kB / 436.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.2511, allocations: 59.42 kB / 436.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.2513, allocations: 79.78 kB / 436.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2517, allocations: 266.8 kB / 436.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2519, allocations: 71.89 kB / 436.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.252, allocations: 95.7 kB / 437 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2522, allocations: 111.5 kB / 437.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2522, allocations: 24 kB / 437.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.2523, allocations: 23.94 kB / 437.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.2523, allocations: 55.83 kB / 437.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2525, allocations: 115.5 kB / 437.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.2528, allocations: 264.2 kB / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2528, allocations: 0 / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2528, allocations: 0 / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2528, allocations: 0 / 437.6 MB, free: 2.539 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.0009481/0.2538, allocations: 481.6 kB / 438 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2538, allocations: 12.03 kB / 438.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2539, allocations: 24.8 kB / 438.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.2543, allocations: 178.5 kB / 438.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2543, allocations: 16.81 kB / 438.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.2543, allocations: 20.38 kB / 438.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.2548, allocations: 230.2 kB / 438.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2548, allocations: 0 / 438.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.2548, allocations: 12 kB / 438.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2549, allocations: 4 kB / 438.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.2552, allocations: 157.6 kB / 438.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.2566, allocations: 0.7899 MB / 439.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.257, allocations: 146.6 kB / 439.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.2572, allocations: 79.75 kB / 439.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2572, allocations: 0 / 439.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2573, allocations: 34.56 kB / 439.7 MB, free: 248 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2573, allocations: 4 kB / 439.7 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009014/0.2582, allocations: 258.1 kB / 440 MB, free: 15.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2582, allocations: 55.41 kB / 440 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.2584, allocations: 172.1 kB / 440.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2584, allocations: 33.7 kB / 440.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.2585, allocations: 156.2 kB / 440.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.2586, allocations: 51.62 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.2587, allocations: 45.64 kB / 440.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2589, allocations: 326.8 kB / 440.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.259, allocations: 55.95 kB / 440.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2592, allocations: 96.2 kB / 441 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.2595, allocations: 140.2 kB / 441.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2595, allocations: 0 / 441.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004877/0.26, allocations: 222.1 kB / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.26, allocations: 6.812 kB / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.26, allocations: 0 / 441.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.2602, allocations: 40.97 kB / 441.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2604, allocations: 39.91 kB / 441.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2618, allocations: 1.366 MB / 442.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.262, allocations: 31.8 kB / 442.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.262, allocations: 8 kB / 442.8 MB, free: 12.95 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.00015/0.2622, allocations: 127.9 kB / 442.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.2622, allocations: 19.97 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.2623, allocations: 25.8 kB / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2623, allocations: 4.141 kB / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2623, allocations: 0 / 443 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2623, allocations: 7.922 kB / 443 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008363/0.2631, allocations: 498.1 kB / 443.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2631, allocations: 0 / 443.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2633, allocations: 35.92 kB / 443.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.2634, allocations: 24.84 kB / 443.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2634, allocations: 4 kB / 443.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2647, allocations: 1.369 MB / 444.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2647, allocations: 3.938 kB / 444.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.2653, allocations: 355 kB / 445.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.2654, allocations: 31.86 kB / 445.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2654, allocations: 0 / 445.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2656, allocations: 19.98 kB / 445.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.2657, allocations: 23.95 kB / 445.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2657, allocations: 0 / 445.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.2658, allocations: 135.5 kB / 445.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2658, allocations: 0 / 445.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.2662, allocations: 63.89 kB / 445.5 MB, free: 10.04 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.000122/0.2663, allocations: 103.4 kB / 445.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.2669, allocations: 250.7 kB / 445.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2669, allocations: 4 kB / 445.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.2671, allocations: 190.6 kB / 446.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2675, allocations: 35.86 kB / 446.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.2684, allocations: 485 kB / 446.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.2688, allocations: 0.7359 MB / 447.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.2688, allocations: 19.44 kB / 447.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2688, allocations: 0 / 447.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of Templates: time 0.005873/0.2747, allocations: 3.179 MB / 450.5 MB, free: 4.969 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.830972355091944]