Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000961/0.000961, allocations: 76.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 160.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9011/0.9011, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/2.025e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002573/0.002594, allocations: 2.413 MB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.003507, allocations: 0.6505 MB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.003614, allocations: 4 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.003735, allocations: 39.58 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.933e-05/0.003834, allocations: 71.34 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.004066, allocations: 71.72 kB / 327.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.004284, allocations: 278.6 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.004437, allocations: 71.95 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.004571, allocations: 151.7 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.004667, allocations: 75.78 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.004693, allocations: 20 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.00475, allocations: 24 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.004782, allocations: 51.81 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.004841, allocations: 87.75 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.00508, allocations: 263.2 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005082, allocations: 0 / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005083, allocations: 4 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005087, allocations: 4 kB / 328.7 MB, free: 11.63 MB / 298.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.0006033/0.005691, allocations: 477.7 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005728, allocations: 11.98 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.005801, allocations: 59.23 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.005886, allocations: 32.75 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.00612, allocations: 177.7 kB / 329.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.006136, allocations: 16.88 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.006165, allocations: 20.38 kB / 329.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.006466, allocations: 257 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006477, allocations: 192 / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.006494, allocations: 20.06 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.006506, allocations: 8 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.006737, allocations: 157.8 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007952/0.007532, allocations: 0.7399 MB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.007783, allocations: 146.6 kB / 330.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.007887, allocations: 79.56 kB / 330.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.0079, allocations: 0 / 330.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.007922, allocations: 38.5 kB / 331 MB, free: 9.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.007923, allocations: 0 / 331 MB, free: 9.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004932/0.008416, allocations: 258.2 kB / 331.2 MB, free: 9.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.008443, allocations: 59.41 kB / 331.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.008554, allocations: 178.7 kB / 331.4 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.008569, allocations: 29.7 kB / 331.5 MB, free: 8.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.008637, allocations: 152.4 kB / 331.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.008668, allocations: 55.47 kB / 331.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.008713, allocations: 45.66 kB / 331.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.008793, allocations: 326.8 kB / 332 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.008883, allocations: 55.91 kB / 332.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.008978, allocations: 88.25 kB / 332.2 MB, free: 7.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.009148, allocations: 147.6 kB / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00915, allocations: 0 / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002588/0.009409, allocations: 222.2 kB / 332.5 MB, free: 7.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.009421, allocations: 7.938 kB / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.009426, allocations: 0 / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.009561, allocations: 36.95 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.009639, allocations: 43.91 kB / 332.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007584/0.0104, allocations: 1.338 MB / 334 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.01048, allocations: 35.84 kB / 334 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.01049, allocations: 16.05 kB / 334 MB, free: 5.984 MB / 298.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 9.256e-05/0.01058, allocations: 133.8 kB / 334.1 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.01061, allocations: 15.91 kB / 334.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.01063, allocations: 25.8 kB / 334.2 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01064, allocations: 3.938 kB / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01064, allocations: 4 kB / 334.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01064, allocations: 3.938 kB / 334.2 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/0.01111, allocations: 482.2 kB / 334.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01111, allocations: 3.938 kB / 334.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.0112, allocations: 27.92 kB / 334.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.604e-05/0.01128, allocations: 32.83 kB / 334.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.0113, allocations: 8.141 kB / 334.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000676/0.01197, allocations: 1.358 MB / 336.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01197, allocations: 0 / 336.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.01231, allocations: 358.9 kB / 336.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.01235, allocations: 35.84 kB / 336.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.01236, allocations: 3.938 kB / 336.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.01245, allocations: 23.92 kB / 336.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.0125, allocations: 15.97 kB / 336.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.0125, allocations: 12.05 kB / 336.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.01257, allocations: 128.3 kB / 336.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 0 / 336.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01277, allocations: 63.89 kB / 336.7 MB, free: 3.082 MB / 298.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 0.0005322/0.0133, allocations: 0.8771 MB / 337.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.01364, allocations: 254.5 kB / 337.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01364, allocations: 0 / 337.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.01378, allocations: 182.6 kB / 338 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01401, allocations: 28.23 kB / 338.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.01575, allocations: 2.189 MB / 340.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.431e-05/0.01582, allocations: 129.2 kB / 340.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.18e-05/0.01588, allocations: 13.48 kB / 340.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.01594, allocations: 56.48 kB / 340.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01594, allocations: 4 kB / 340.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.03568, allocations: 5.403 MB / 345.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.183/7.219, allocations: 6.516 kB / 345.8 MB, free: 9.898 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.986426522955298]