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.001295/0.001295, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.001401/0.001401, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002792/0.002792, allocations: 63.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2321, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003852/0.236, allocations: 2.537 MB / 434.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2371, allocations: 0.6895 MB / 435.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.2372, allocations: 4 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2373, allocations: 31.66 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2374, allocations: 75.33 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.2377, allocations: 71.78 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.238, allocations: 258.8 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.2382, allocations: 79.42 kB / 435.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.2383, allocations: 91.66 kB / 435.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2385, allocations: 115.5 kB / 436 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.2385, allocations: 20 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.2386, allocations: 24 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.2386, allocations: 47.84 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.2387, allocations: 127.4 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.2391, allocations: 260.4 kB / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2391, allocations: 0 / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2391, allocations: 0 / 436.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2391, allocations: 0 / 436.4 MB, free: 2.965 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.0009982/0.2401, allocations: 0.5456 MB / 437 MB, free: 2.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2401, allocations: 8.031 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2402, allocations: 32.8 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.2405, allocations: 228.4 kB / 437.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.2406, allocations: 16.81 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.2406, allocations: 20.38 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.2411, allocations: 234.1 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2411, allocations: 3.984 kB / 437.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.2411, allocations: 12 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2411, allocations: 4 kB / 437.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.2415, allocations: 157.6 kB / 437.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.2429, allocations: 0.8207 MB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.2433, allocations: 150.7 kB / 438.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.2435, allocations: 76.75 kB / 438.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2435, allocations: 7.938 kB / 438.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2435, allocations: 34.56 kB / 438.8 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2435, allocations: 0 / 438.8 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008991/0.2444, allocations: 332.4 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2444, allocations: 63.41 kB / 439.2 MB, free: 24 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2446, allocations: 174.7 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2447, allocations: 29.7 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.2448, allocations: 148.3 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.2448, allocations: 55.48 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.2449, allocations: 45.64 kB / 439.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.245, allocations: 326.8 kB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2452, allocations: 63.97 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2454, allocations: 87.44 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.2457, allocations: 146.8 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2457, allocations: 0 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005006/0.2462, allocations: 218.2 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2462, allocations: 7.938 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2462, allocations: 8.125 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.2464, allocations: 28.78 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.2466, allocations: 39.97 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2479, allocations: 1.47 MB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2481, allocations: 31.86 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.2481, allocations: 7.938 kB / 442 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.0001349/0.2483, allocations: 133.8 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.2483, allocations: 15.91 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.2484, allocations: 25.86 kB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2484, allocations: 0 / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2484, allocations: 0 / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2485, allocations: 108.9 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.2485, allocations: 3.938 kB / 442.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.2487, allocations: 27.97 kB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.2488, allocations: 15.97 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006941/0.2495, allocations: 277.7 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006127/0.2501, allocations: 409.3 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001581/0.2502, allocations: 56.02 kB / 443.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2503, allocations: 128.3 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Backend: time 4.4e-07/0.2503, allocations: 3.938 kB / 443.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007215/0.2511, allocations: 292.1 kB / 443.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 0.001011/0.2521, allocations: 0.922 MB / 444.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Templates: time 0.006568/0.2586, allocations: 2.651 MB / 447.1 MB, free: 7.812 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_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.311429523862898]