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.0009071/0.0009071, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009988/0.0009988, allocations: 173.1 kB / 24.92 MB, free: 8.762 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 0.9179/0.9179, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.857e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002629/0.002647, allocations: 2.534 MB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003648, allocations: 0.6854 MB / 276.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.003754, allocations: 8 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003883, allocations: 31.66 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.003994, allocations: 71.28 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.004213, allocations: 71.78 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.004435, allocations: 270.6 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.004573, allocations: 78.55 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.00471, allocations: 151.7 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004818, allocations: 87.77 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.004844, allocations: 20 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.004903, allocations: 24 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.00494, allocations: 47.83 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.004998, allocations: 83.77 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005201, allocations: 191.2 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005203, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005203, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.005208, allocations: 0 / 277.8 MB, free: 12.82 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.000473/0.005681, allocations: 440.4 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.00571, allocations: 8.031 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.005807, allocations: 40.84 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005967, allocations: 157.4 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005981, allocations: 16.88 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.006008, allocations: 20.38 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.006214, allocations: 213.7 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.006225, allocations: 8.172 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.006238, allocations: 8.375 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.006246, allocations: 7.938 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/0.006333, allocations: 61.47 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.006939, allocations: 0.5689 MB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.007098, allocations: 102.5 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.007138, allocations: 36.84 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.007148, allocations: 0 / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.007168, allocations: 38.56 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.007169, allocations: 0 / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003006/0.007469, allocations: 157.5 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.007491, allocations: 51.41 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.007577, allocations: 155.3 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.007593, allocations: 29.7 kB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.007648, allocations: 148.3 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.007678, allocations: 59.47 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.007718, allocations: 37.7 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.007804, allocations: 330.8 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.007828, allocations: 20 kB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.007875, allocations: 55.45 kB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/0.00795, allocations: 84.17 kB / 280.6 MB, free: 9.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.007953, allocations: 3.938 kB / 280.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001511/0.008104, allocations: 138.2 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.008115, allocations: 10.31 kB / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.008119, allocations: 0 / 280.7 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.008244, allocations: 36.8 kB / 280.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.008315, allocations: 31.98 kB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005848/0.0089, allocations: 1.202 MB / 282 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.008959, allocations: 27.91 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.008966, allocations: 8 kB / 282 MB, free: 8.258 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.225e-05/0.009038, allocations: 117.8 kB / 282.1 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.00906, allocations: 15.98 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.009083, allocations: 25.73 kB / 282.2 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.009084, allocations: 4 kB / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.009086, allocations: 0 / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.009088, allocations: 0 / 282.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.009346, allocations: 307.5 kB / 282.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009348, allocations: 7.938 kB / 282.5 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.00941, allocations: 23.98 kB / 282.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-05/0.00948, allocations: 32.77 kB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.009487, allocations: 0 / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005103/0.009997, allocations: 1.213 MB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.009998, allocations: 0 / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01017, allocations: 236.2 kB / 284 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.0102, allocations: 19.84 kB / 284 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.01021, allocations: 11.94 kB / 284 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.424e-05/0.01027, allocations: 11.98 kB / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.01031, allocations: 15.97 kB / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.01032, allocations: 4 kB / 284.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.094e-05/0.01035, allocations: 46.44 kB / 284.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01035, allocations: 0 / 284.1 MB, free: 6.031 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01052, allocations: 63.88 kB / 284.2 MB, free: 5.969 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.273e-05/0.01059, allocations: 84.55 kB / 284.2 MB, free: 5.879 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.01079, allocations: 201.2 kB / 284.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.0108, allocations: 4 kB / 284.4 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.01089, allocations: 167.3 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.01105, allocations: 32.23 kB / 284.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01165, allocations: 416.7 kB / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01169, allocations: 75.98 kB / 285.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.01174, allocations: 17.48 kB / 285.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.01182, allocations: 75.36 kB / 285.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01182, allocations: 0 / 285.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of Templates: time 0.004152/0.01597, allocations: 2.552 MB / 287.8 MB, free: 2.324 MB / 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.775287670083344]