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.0009395/0.0009395, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009365/0.0009365, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 0.9285/0.9285, allocations: 177.1 MB / 205 MB, free: 5.621 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.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.213e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003318/0.00334, allocations: 2.57 MB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.004281, allocations: 0.6661 MB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004397, allocations: 4 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.004534, allocations: 35.64 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.004651, allocations: 79.27 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.004911, allocations: 67.91 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.005149, allocations: 270.6 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.005418, allocations: 63.95 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.005563, allocations: 155.6 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.005672, allocations: 75.78 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.005701, allocations: 24 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.005771, allocations: 32 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.005806, allocations: 55.73 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.005868, allocations: 79.83 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.006086, allocations: 179.4 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.00609, allocations: 4 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.00609, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.006095, allocations: 0 / 277.3 MB, free: 13.2 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.000571/0.006666, allocations: 0.5508 MB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.006701, allocations: 12.03 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.006833, allocations: 52.67 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.007021, allocations: 173 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.007037, allocations: 20.88 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.007071, allocations: 24.36 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.007348, allocations: 223.4 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.00736, allocations: 4.188 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.007379, allocations: 12.38 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.00739, allocations: 7.938 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.007528, allocations: 82.88 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.008334, allocations: 0.7853 MB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.00855, allocations: 123.1 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.008612, allocations: 43.67 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.008623, allocations: 4 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.008645, allocations: 37.39 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.008647, allocations: 0 / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004283/0.009075, allocations: 193 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.009099, allocations: 55.41 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.009214, allocations: 210.6 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.009231, allocations: 29.7 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.00931, allocations: 203.1 kB / 280.1 MB, free: 10.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.009344, allocations: 55.47 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.009394, allocations: 51.31 kB / 280.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.009499, allocations: 0.4923 MB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.009543, allocations: 23.98 kB / 280.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.009609, allocations: 82.34 kB / 280.8 MB, free: 9.426 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.009716, allocations: 104.1 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.009719, allocations: 4 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001985/0.009917, allocations: 169 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.009932, allocations: 11.98 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.009937, allocations: 0 / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.0101, allocations: 31.8 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.01019, allocations: 39.86 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008315/0.01102, allocations: 1.791 MB / 283 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.01109, allocations: 27.88 kB / 283 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.0111, allocations: 11.94 kB / 283 MB, free: 7.082 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 8.376e-05/0.01118, allocations: 172.5 kB / 283.2 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01121, allocations: 27.84 kB / 283.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.01123, allocations: 13.81 kB / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.01124, allocations: 4 kB / 283.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01124, allocations: 0 / 283.2 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01124, allocations: 3.984 kB / 283.2 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.0116, allocations: 448.8 kB / 283.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.0116, allocations: 0 / 283.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.01168, allocations: 23.98 kB / 283.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.739e-05/0.01176, allocations: 35.66 kB / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01177, allocations: 0 / 283.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/0.01249, allocations: 1.807 MB / 285.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01249, allocations: 4 kB / 285.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.01274, allocations: 316.5 kB / 285.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.01278, allocations: 31.89 kB / 285.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.01279, allocations: 4 kB / 285.9 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.01287, allocations: 15.98 kB / 285.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.01292, allocations: 15.97 kB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01293, allocations: 8 kB / 285.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.01299, allocations: 152.8 kB / 286 MB, free: 3.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01299, allocations: 0 / 286 MB, free: 3.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002183/0.01321, allocations: 71.78 kB / 286.1 MB, free: 3.75 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 9.223e-05/0.0133, allocations: 107.2 kB / 286.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.01363, allocations: 267 kB / 286.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01363, allocations: 0 / 286.5 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.01376, allocations: 237.3 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.01398, allocations: 24.25 kB / 286.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006949/0.01468, allocations: 426.4 kB / 287.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.01494, allocations: 75.98 kB / 287.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.01499, allocations: 13.48 kB / 287.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.01503, allocations: 16.5 kB / 287.3 MB, free: 2.516 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01503, allocations: 4 kB / 287.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of Templates: time 0.004227/0.01926, allocations: 2.542 MB / 289.8 MB, free: 12 kB / 266.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.656438844278455]