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.001443/0.001443, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001575/0.001575, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.339/1.339, allocations: 230.5 MB / 258.2 MB, free: 8.039 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 67.89 kB / 378.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2157, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003567/0.2192, allocations: 2.548 MB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2203, allocations: 0.6934 MB / 435.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.2204, allocations: 4 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2205, allocations: 35.66 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2206, allocations: 67.34 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2208, allocations: 67.84 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.2211, allocations: 258.8 kB / 435.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.2213, allocations: 83.69 kB / 435.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2214, allocations: 99.64 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.2216, allocations: 111.5 kB / 435.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.2216, allocations: 20 kB / 435.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.2217, allocations: 27.98 kB / 436 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.2217, allocations: 47.83 kB / 436 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2218, allocations: 115.5 kB / 436.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.2221, allocations: 263.9 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2221, allocations: 0 / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2221, allocations: 4 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2221, allocations: 0 / 436.4 MB, free: 2.258 MB / 334.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.0008798/0.223, allocations: 481.6 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.223, allocations: 12.02 kB / 436.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.772e-05/0.2231, allocations: 4.625 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.2232, allocations: 63.17 kB / 436.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.2233, allocations: 32.75 kB / 437 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2235, allocations: 173.6 kB / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2235, allocations: 16.81 kB / 437.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.2236, allocations: 28.38 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.224, allocations: 233.7 kB / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.224, allocations: 0 / 437.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.224, allocations: 12 kB / 437.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.224, allocations: 7.984 kB / 437.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.2244, allocations: 161.6 kB / 437.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2257, allocations: 0.7976 MB / 438.4 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.2261, allocations: 150.5 kB / 438.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2262, allocations: 72.77 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.2262, allocations: 4 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2263, allocations: 38.5 kB / 438.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.2263, allocations: 0 / 438.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007778/0.2271, allocations: 254.2 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.2271, allocations: 59.39 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2273, allocations: 171.6 kB / 439.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2273, allocations: 29.7 kB / 439.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2274, allocations: 152.3 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.2274, allocations: 59.55 kB / 439.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.2275, allocations: 41.7 kB / 439.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2276, allocations: 330.8 kB / 439.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2278, allocations: 51.97 kB / 439.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.228, allocations: 91.81 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2283, allocations: 146.3 kB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2283, allocations: 0 / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004511/0.2287, allocations: 218.1 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2287, allocations: 4 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2287, allocations: 4.125 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.2289, allocations: 40.81 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.229, allocations: 31.98 kB / 440.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.2302, allocations: 1.366 MB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2304, allocations: 27.81 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2304, allocations: 8 kB / 441.7 MB, free: 12.59 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 0.0001235/0.2306, allocations: 145.8 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.2306, allocations: 15.91 kB / 441.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.2306, allocations: 17.81 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2306, allocations: 7.938 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.2306, allocations: 0 / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2306, allocations: 0 / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.2314, allocations: 0.4895 MB / 442.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2314, allocations: 4 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2315, allocations: 23.98 kB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.2316, allocations: 44.84 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2316, allocations: 4 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2327, allocations: 1.362 MB / 443.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2327, allocations: 4.031 kB / 443.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.2333, allocations: 352.2 kB / 444.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.2334, allocations: 23.83 kB / 444.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.2334, allocations: 4 kB / 444.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2336, allocations: 19.97 kB / 444.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.2337, allocations: 23.91 kB / 444.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2337, allocations: 8.062 kB / 444.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2338, allocations: 127.5 kB / 444.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2338, allocations: 4 kB / 444.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000287/0.2341, allocations: 59.89 kB / 444.4 MB, free: 9.664 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_TRes) * 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.0009093/0.235, allocations: 0.881 MB / 445.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004994/0.2355, allocations: 256.8 kB / 445.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2355, allocations: 0 / 445.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.2358, allocations: 198.9 kB / 445.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2361, allocations: 31.92 kB / 445.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2389, allocations: 2.223 MB / 448 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2392, allocations: 0.732 MB / 448.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.2393, allocations: 21.47 kB / 448.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.2394, allocations: 55.42 kB / 448.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2394, allocations: 0 / 448.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.2679, allocations: 4.722 MB / 453.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.02, allocations: 15.84 kB / 453.5 MB, free: 0.5 MB / 350.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,heatCapacitor.T,onOffController.y Variables in the result:TAmb,TDif,TRes,_D_outputAlias_TRes,constantVoltage.V,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,der(_D_outputAlias_TRes),fixedTemperature.T,fixedTemperature.port.Q_flow,fixedTemperature.port.T,ground.p.i,ground.p.v,heatCapacitor.C,heatCapacitor.T,heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,idealSwitch.Goff,idealSwitch.LossPower,idealSwitch.Ron,idealSwitch.T,idealSwitch.T_heatPort,idealSwitch.control,idealSwitch.i,idealSwitch.n.i,idealSwitch.n.v,idealSwitch.p.i,idealSwitch.p.v,idealSwitch.useHeatPort,idealSwitch.v,logicalNot.u,logicalNot.y,onOffController.bandwidth,onOffController.pre_y_start,onOffController.reference,onOffController.u,onOffController.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.heatPort.Q_flow,resistor.heatPort.T,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,temperatureSensor.T,temperatureSensor.port.Q_flow,temperatureSensor.port.T,thermalConductor.G,thermalConductor.Q_flow,thermalConductor.dT,thermalConductor.port_a.Q_flow,thermalConductor.port_a.T,thermalConductor.port_b.Q_flow,thermalConductor.port_b.T,time [Calling sys.exit(0), Time elapsed: 13.630819928017445]