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.001663/0.001663, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.002114/0.002114, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.474/1.474, allocations: 230.5 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.001961/0.001961, allocations: 75.81 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2644, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00393/0.2683, allocations: 2.54 MB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.2695, allocations: 0.6896 MB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2697, allocations: 7.938 kB / 435.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.2699, allocations: 35.64 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.27, allocations: 63.41 kB / 435.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2703, allocations: 67.8 kB / 435.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.2706, allocations: 262.8 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2708, allocations: 83.22 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2709, allocations: 95.7 kB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.2711, allocations: 111.5 kB / 436 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2711, allocations: 27.92 kB / 436 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.2712, allocations: 24 kB / 436 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.2712, allocations: 51.83 kB / 436.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2713, allocations: 115.5 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.2717, allocations: 253.1 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2717, allocations: 0 / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.806e-06/0.2717, allocations: 3.984 kB / 436.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2717, allocations: 0 / 436.4 MB, free: 2.957 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.001045/0.2728, allocations: 0.5456 MB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2728, allocations: 12.03 kB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2729, allocations: 32.78 kB / 437 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.2733, allocations: 236.4 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2733, allocations: 16.81 kB / 437.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.2733, allocations: 16.38 kB / 437.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.2738, allocations: 234.2 kB / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2738, allocations: 0 / 437.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.2738, allocations: 12 kB / 437.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2738, allocations: 4 kB / 437.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.2742, allocations: 157.6 kB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.2755, allocations: 0.8207 MB / 438.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.2759, allocations: 150.6 kB / 438.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.2761, allocations: 72.81 kB / 438.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2761, allocations: 7.938 kB / 438.7 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2761, allocations: 30.56 kB / 438.8 MB, free: 456 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.2761, allocations: 0 / 438.8 MB, free: 456 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009058/0.277, allocations: 343.2 kB / 439.1 MB, free: 84 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2771, allocations: 51.41 kB / 439.2 MB, free: 20 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.2773, allocations: 174.7 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2773, allocations: 29.7 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2774, allocations: 152.3 kB / 439.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.2775, allocations: 59.55 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.2775, allocations: 49.64 kB / 439.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2777, allocations: 326.8 kB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2778, allocations: 55.95 kB / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.278, allocations: 88.2 kB / 440.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.2783, allocations: 142.8 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2783, allocations: 0 / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004784/0.2788, allocations: 226.1 kB / 440.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2788, allocations: 4 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2788, allocations: 4 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.279, allocations: 36.83 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.2792, allocations: 31.92 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2805, allocations: 1.474 MB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2807, allocations: 35.88 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.2807, allocations: 8 kB / 442 MB, free: 12.93 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.0001366/0.2808, allocations: 125.8 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.2809, allocations: 15.91 kB / 442.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.2809, allocations: 25.86 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2809, allocations: 4 kB / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2809, allocations: 0 / 442.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2809, allocations: 7.938 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.2817, allocations: 0.5159 MB / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2817, allocations: 0 / 442.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2819, allocations: 27.92 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.282, allocations: 28.84 kB / 442.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.282, allocations: 11.98 kB / 442.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.2832, allocations: 1.461 MB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2832, allocations: 11.94 kB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.2839, allocations: 350.8 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.284, allocations: 105 kB / 444.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.284, allocations: 4 kB / 444.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2842, allocations: 28.03 kB / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.2842, allocations: 11.98 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2843, allocations: 8 kB / 444.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.2844, allocations: 128.3 kB / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0 / 444.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.2847, allocations: 63.89 kB / 444.9 MB, free: 9.762 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.0001251/0.2848, allocations: 99.25 kB / 445 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000563/0.2854, allocations: 262.4 kB / 445.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2854, allocations: 0 / 445.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.2857, allocations: 182.9 kB / 445.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.286, allocations: 35.86 kB / 445.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.2868, allocations: 494.7 kB / 446 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2871, allocations: 0.7359 MB / 446.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2872, allocations: 15.44 kB / 446.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2872, allocations: 0 / 446.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Templates: time 0.005361/0.2926, allocations: 3.185 MB / 449.9 MB, free: 4.695 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: 7.1808521510101855]