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.001407/0.001407, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001123/0.001123, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.634e-06/1.634e-06, allocations: 0 / 273.4 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.269e-05, allocations: 4.703 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002847/0.002869, allocations: 2.544 MB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000788/0.003657, allocations: 0.67 MB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.003756, allocations: 4 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003873, allocations: 31.64 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.00397, allocations: 83.27 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.00416, allocations: 67.84 kB / 276.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.004494, allocations: 270.6 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.004634, allocations: 67.95 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004775, allocations: 151.7 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.00488, allocations: 83.77 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.004906, allocations: 20 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.004971, allocations: 27.98 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.005003, allocations: 51.77 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.005059, allocations: 83.83 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.00526, allocations: 187.2 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005262, allocations: 0 / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005262, allocations: 0 / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.005266, allocations: 0 / 277.7 MB, free: 12.99 MB / 266.7 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.000499/0.005765, allocations: 0.5546 MB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.0058, allocations: 12.03 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.005898, allocations: 48.73 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.006053, allocations: 177 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006067, allocations: 16.88 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.006093, allocations: 16.38 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.006303, allocations: 219.3 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.006316, allocations: 4.188 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.006331, allocations: 12.38 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006338, allocations: 7.938 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.006427, allocations: 65.44 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.007153, allocations: 0.739 MB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.007345, allocations: 123.1 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.007395, allocations: 43.66 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.007406, allocations: 4 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.007435, allocations: 37.39 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.007437, allocations: 0 / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003716/0.007808, allocations: 180.1 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.007831, allocations: 55.41 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.007927, allocations: 210.5 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.007943, allocations: 29.7 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.008305, allocations: 203 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.008337, allocations: 55.47 kB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.008384, allocations: 51.34 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.008487, allocations: 0.4962 MB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.008513, allocations: 15.98 kB / 281 MB, free: 9.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/0.008561, allocations: 70.39 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.008647, allocations: 108.6 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008648, allocations: 7.875 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001651/0.008813, allocations: 153 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.008825, allocations: 10.66 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.008829, allocations: 0 / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.008952, allocations: 35.77 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.009025, allocations: 31.98 kB / 281.4 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007028/0.009728, allocations: 1.776 MB / 283.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.009784, allocations: 19.88 kB / 283.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009791, allocations: 8 kB / 283.2 MB, free: 7.043 MB / 266.7 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 7.314e-05/0.009864, allocations: 168.6 kB / 283.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.009893, allocations: 27.84 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.009913, allocations: 17.8 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009915, allocations: 4 kB / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.009918, allocations: 0 / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.00992, allocations: 0 / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.01022, allocations: 405.4 kB / 283.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01022, allocations: 0 / 283.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.01029, allocations: 27.92 kB / 283.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-05/0.01036, allocations: 43.77 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.01037, allocations: 4 kB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006116/0.01098, allocations: 1.76 MB / 285.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01098, allocations: 7.938 kB / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.01119, allocations: 295.4 kB / 286 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.01123, allocations: 39.75 kB / 286 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.01125, allocations: 4.062 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.01131, allocations: 12 kB / 286 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.01135, allocations: 19.95 kB / 286 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.01136, allocations: 4 kB / 286.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.01141, allocations: 156.8 kB / 286.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01141, allocations: 0 / 286.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.0116, allocations: 63.84 kB / 286.3 MB, free: 3.816 MB / 266.7 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 7.153e-05/0.01167, allocations: 99.39 kB / 286.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01189, allocations: 262.9 kB / 286.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01189, allocations: 0 / 286.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.012, allocations: 233.2 kB / 286.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.01219, allocations: 39.86 kB / 286.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.01277, allocations: 410.7 kB / 287.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.01282, allocations: 79.97 kB / 287.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.01286, allocations: 9.5 kB / 287.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.01321, allocations: 98.17 kB / 287.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01321, allocations: 0 / 287.5 MB, free: 2.52 MB / 266.7 MB Notification: Performance of Templates: time 0.004048/0.01726, allocations: 2.619 MB / 290.1 MB, free: 15.94 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6922067580744624]