Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 106.5 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 196.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 369.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2622, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004036/0.2662, allocations: 2.51 MB / 423.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2675, allocations: 0.6389 MB / 424.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2676, allocations: 4 kB / 424.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2678, allocations: 39.66 kB / 424.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.2679, allocations: 71.33 kB / 424.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.2682, allocations: 63.92 kB / 424.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.2685, allocations: 266.7 kB / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2687, allocations: 79.42 kB / 424.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.2689, allocations: 91.66 kB / 425 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.269, allocations: 111.5 kB / 425.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.2691, allocations: 24 kB / 425.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.2692, allocations: 31.94 kB / 425.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.2692, allocations: 47.84 kB / 425.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2693, allocations: 119.4 kB / 425.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.2697, allocations: 264.1 kB / 425.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2697, allocations: 0 / 425.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2697, allocations: 0 / 425.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2697, allocations: 0 / 425.6 MB, free: 10.82 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.001001/0.2707, allocations: 0.5533 MB / 426.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2708, allocations: 11.89 kB / 426.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2709, allocations: 28.8 kB / 426.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.2713, allocations: 240.4 kB / 426.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2713, allocations: 16.81 kB / 426.5 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.2713, allocations: 16.38 kB / 426.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.2718, allocations: 238.1 kB / 426.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2718, allocations: 0 / 426.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.2718, allocations: 12 kB / 426.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.2718, allocations: 4 kB / 426.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.2722, allocations: 161.6 kB / 426.9 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2736, allocations: 0.8168 MB / 427.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.274, allocations: 146.6 kB / 427.8 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.2742, allocations: 76.81 kB / 427.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.2742, allocations: 4 kB / 427.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2742, allocations: 34.5 kB / 428 MB, free: 8.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.2742, allocations: 0 / 428 MB, free: 8.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009302/0.2751, allocations: 331.3 kB / 428.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.2752, allocations: 59.34 kB / 428.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2754, allocations: 179.2 kB / 428.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2754, allocations: 29.7 kB / 428.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2755, allocations: 152.3 kB / 428.7 MB, free: 7.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2756, allocations: 51.53 kB / 428.7 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.2756, allocations: 41.7 kB / 428.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2758, allocations: 330.8 kB / 429.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2759, allocations: 55.97 kB / 429.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2761, allocations: 84.25 kB / 429.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.2764, allocations: 147 kB / 429.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2764, allocations: 0 / 429.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004827/0.2769, allocations: 230 kB / 429.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2769, allocations: 4 kB / 429.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.2769, allocations: 4 kB / 429.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.2771, allocations: 24.84 kB / 429.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2773, allocations: 47.84 kB / 429.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.2787, allocations: 1.465 MB / 431.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.2789, allocations: 39.75 kB / 431.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2789, allocations: 8.062 kB / 431.2 MB, free: 4.785 MB / 334.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.0001415/0.2791, allocations: 133.7 kB / 431.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.2791, allocations: 15.91 kB / 431.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.2792, allocations: 25.86 kB / 431.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2792, allocations: 4 kB / 431.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2792, allocations: 4 kB / 431.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2792, allocations: 3.938 kB / 431.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.28, allocations: 0.5186 MB / 431.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.28, allocations: 0 / 431.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.2801, allocations: 27.97 kB / 431.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.2803, allocations: 32.84 kB / 432 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2803, allocations: 0 / 432 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2815, allocations: 1.465 MB / 433.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.2815, allocations: 3.938 kB / 433.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.2821, allocations: 355.9 kB / 433.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.2822, allocations: 108.9 kB / 433.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2822, allocations: 8 kB / 433.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2824, allocations: 20.05 kB / 433.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.2825, allocations: 19.97 kB / 433.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2825, allocations: 0 / 433.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.2826, allocations: 136.3 kB / 434.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2826, allocations: 0 / 434.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.283, allocations: 59.89 kB / 434.1 MB, free: 1.613 MB / 334.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.0001262/0.2831, allocations: 103.2 kB / 434.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005585/0.2837, allocations: 257.1 kB / 434.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2837, allocations: 0 / 434.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.2839, allocations: 182.6 kB / 434.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2843, allocations: 40.11 kB / 434.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.2852, allocations: 495.6 kB / 435.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2855, allocations: 0.7358 MB / 435.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.2856, allocations: 19.44 kB / 435.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2856, allocations: 3.938 kB / 435.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Templates: time 0.005582/0.2912, allocations: 3.169 MB / 439.1 MB, free: 12.54 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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