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.001226/0.001226, allocations: 118.7 kB / 18.5 MB, free: 4.574 MB / 14.72 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.001301/0.001301, allocations: 210.5 kB / 21.46 MB, free: 1.617 MB / 14.72 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 1.429/1.429, allocations: 230.2 MB / 254.5 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001786/0.001786, allocations: 59.89 kB / 373.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1031, allocations: 53.33 MB / 426.6 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00385/0.107, allocations: 2.52 MB / 429.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1082, allocations: 0.6856 MB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1083, allocations: 4 kB / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001506/0.1084, allocations: 39.66 kB / 429.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1086, allocations: 71.33 kB / 430 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1088, allocations: 63.86 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.1091, allocations: 262.8 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1093, allocations: 83.41 kB / 430.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1094, allocations: 91.66 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1096, allocations: 115.5 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1096, allocations: 24 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.1097, allocations: 27.94 kB / 430.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1097, allocations: 43.84 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1098, allocations: 123.3 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1102, allocations: 262.9 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1102, allocations: 0 / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1102, allocations: 0 / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1102, allocations: 4 kB / 431 MB, free: 0.6875 MB / 350.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.0009548/0.1111, allocations: 0.5483 MB / 431.6 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1112, allocations: 12.03 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.023e-05/0.1113, allocations: 55.17 kB / 431.7 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1647/0.276, allocations: 28.17 kB / 431.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.2763, allocations: 234.1 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2763, allocations: 16.48 kB / 431.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.2764, allocations: 23.47 kB / 432 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.2768, allocations: 224.9 kB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2768, allocations: 4.5 kB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.2768, allocations: 13.59 kB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2768, allocations: 5.156 kB / 432.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2772, allocations: 161.4 kB / 432.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2783, allocations: 0.8194 MB / 433.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.2786, allocations: 158 kB / 433.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.2788, allocations: 71.81 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2788, allocations: 2.656 kB / 433.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.2788, allocations: 32.03 kB / 433.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.2788, allocations: 5.172 kB / 433.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007223/0.2795, allocations: 342.4 kB / 433.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.2795, allocations: 51.41 kB / 433.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2796, allocations: 176.1 kB / 434 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2797, allocations: 31.86 kB / 434 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.2797, allocations: 151.3 kB / 434.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.2797, allocations: 61.64 kB / 434.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.2798, allocations: 32.75 kB / 434.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.2798, allocations: 331.9 kB / 434.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.28, allocations: 53.08 kB / 434.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2801, allocations: 95.48 kB / 434.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.2803, allocations: 138.7 kB / 434.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2803, allocations: 4.125 kB / 434.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003891/0.2807, allocations: 225.5 kB / 435.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2807, allocations: 4.844 kB / 435.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2807, allocations: 1.062 kB / 435.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.2809, allocations: 36.05 kB / 435.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.281, allocations: 40.22 kB / 435.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00076/0.2818, allocations: 1.464 MB / 436.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.282, allocations: 38.28 kB / 436.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.282, allocations: 6.781 kB / 436.7 MB, free: 8.383 MB / 350.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 7.852e-05/0.2821, allocations: 131.1 kB / 436.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.2821, allocations: 15.5 kB / 436.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2821, allocations: 22.89 kB / 436.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.2821, allocations: 4.719 kB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2821, allocations: 2.344 kB / 436.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2821, allocations: 3.938 kB / 436.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.2827, allocations: 0.5173 MB / 437.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2827, allocations: 4.641 kB / 437.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.2828, allocations: 25.19 kB / 437.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.425e-05/0.2829, allocations: 31.61 kB / 437.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2829, allocations: 10.5 kB / 437.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006844/0.2836, allocations: 1.467 MB / 438.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2836, allocations: 3.938 kB / 438.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.2841, allocations: 350.2 kB / 439.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.2842, allocations: 102.9 kB / 439.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2842, allocations: 5.797 kB / 439.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2844, allocations: 25.47 kB / 439.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.2844, allocations: 14.39 kB / 439.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2845, allocations: 8.219 kB / 439.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.921e-05/0.2845, allocations: 125.1 kB / 439.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2845, allocations: 0 / 439.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.2848, allocations: 68.89 kB / 439.6 MB, free: 6 MB / 350.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.0006992/0.2855, allocations: 0.8917 MB / 440.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.286, allocations: 250.4 kB / 440.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.286, allocations: 3.562 kB / 440.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2862, allocations: 184.7 kB / 440.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.2865, allocations: 27.38 kB / 440.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.2888, allocations: 2.237 MB / 443.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.289, allocations: 0.7363 MB / 443.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.2891, allocations: 12.61 kB / 443.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.2891, allocations: 57.52 kB / 444 MB, free: 2.543 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2891, allocations: 0 / 444 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.322, allocations: 4.558 MB / 448.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.469/9.791, allocations: 5.141 kB / 448.6 MB, free: 1.949 MB / 350.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.314898677170277]