Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002083/0.002083, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.754 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004015/0.2631, allocations: 2.396 MB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2645, allocations: 0.6507 MB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2646, allocations: 7.938 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2647, allocations: 35.64 kB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2649, allocations: 71.28 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2651, allocations: 59.92 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.2655, allocations: 270.8 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.2657, allocations: 76.73 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2658, allocations: 95.7 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.266, allocations: 115.5 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.2661, allocations: 20 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.2662, allocations: 24 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.2662, allocations: 55.78 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2664, allocations: 95.59 kB / 436.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.2667, allocations: 257.8 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2667, allocations: 0 / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2667, allocations: 3.938 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.2668, allocations: 0 / 436.5 MB, free: 2.492 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.001078/0.2678, allocations: 492.3 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2679, allocations: 12.03 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.268, allocations: 28.8 kB / 437.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.2683, allocations: 174.6 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.2683, allocations: 16.81 kB / 437.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.2684, allocations: 16.38 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.2689, allocations: 259.9 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2689, allocations: 3.953 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.2689, allocations: 11.94 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2689, allocations: 4 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.2693, allocations: 157.7 kB / 437.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2707, allocations: 0.6929 MB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.2711, allocations: 150.6 kB / 438.5 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2713, allocations: 72.77 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2713, allocations: 4 kB / 438.6 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2713, allocations: 34.56 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.153e-06/0.2713, allocations: 0 / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008399/0.2722, allocations: 257.7 kB / 438.9 MB, free: 0 / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2722, allocations: 55.41 kB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2724, allocations: 171.2 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.2724, allocations: 29.64 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2725, allocations: 156.4 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.2726, allocations: 55.48 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.2727, allocations: 45.7 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2728, allocations: 326.8 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.273, allocations: 51.91 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.2731, allocations: 92.25 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.2734, allocations: 140.2 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2734, allocations: 0 / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004584/0.2739, allocations: 217 kB / 440.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2739, allocations: 11.94 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2739, allocations: 3.938 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.2741, allocations: 32.84 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2743, allocations: 44.03 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.2755, allocations: 1.331 MB / 441.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.2757, allocations: 31.86 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.2757, allocations: 7.984 kB / 441.7 MB, free: 13.04 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.0001384/0.2758, allocations: 137.8 kB / 441.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2759, allocations: 15.84 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.2759, allocations: 21.95 kB / 441.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2759, allocations: 7.984 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2759, allocations: 0 / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2759, allocations: 3.984 kB / 441.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.2767, allocations: 442.8 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2767, allocations: 0 / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.2768, allocations: 27.98 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.2769, allocations: 28.84 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.277, allocations: 11.94 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.2781, allocations: 1.335 MB / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2781, allocations: 0 / 443.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.2788, allocations: 356.1 kB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.2788, allocations: 23.86 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2788, allocations: 4 kB / 444 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.279, allocations: 23.92 kB / 444.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2791, allocations: 23.89 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2791, allocations: 8 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.474e-05/0.2792, allocations: 116 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2792, allocations: 4 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.2795, allocations: 59.89 kB / 444.3 MB, free: 10.23 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.0001154/0.2797, allocations: 107.3 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005586/0.2802, allocations: 250.5 kB / 444.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2802, allocations: 256 / 444.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.2805, allocations: 193.7 kB / 444.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2808, allocations: 20 kB / 444.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008566/0.2817, allocations: 481 kB / 445.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2818, allocations: 137.1 kB / 445.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2818, allocations: 19.44 kB / 445.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2818, allocations: 0 / 445.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Templates: time 0.005316/0.2872, allocations: 3.164 MB / 448.6 MB, free: 5.801 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.809213733009528]