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.001214/0.001214, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001341/0.001341, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.357/1.357, allocations: 230.5 MB / 258.2 MB, free: 7.793 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="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.001759/0.001759, allocations: 55.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2352, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003645/0.2388, allocations: 2.42 MB / 434.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2399, allocations: 0.639 MB / 434.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.24, allocations: 7.938 kB / 435 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.2401, allocations: 35.64 kB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.2403, allocations: 63.42 kB / 435.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2405, allocations: 67.84 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.2408, allocations: 266.8 kB / 435.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.241, allocations: 79.83 kB / 435.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2411, allocations: 103.6 kB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2413, allocations: 107.5 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.2413, allocations: 20 kB / 435.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.2414, allocations: 28 kB / 435.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.2415, allocations: 47.83 kB / 435.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2416, allocations: 99.59 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2419, allocations: 261.2 kB / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2419, allocations: 0 / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2419, allocations: 0 / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.2419, allocations: 4 kB / 436.1 MB, free: 2.238 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.0009042/0.2428, allocations: 481.6 kB / 436.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2428, allocations: 12.03 kB / 436.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.122e-05/0.2429, allocations: 8.562 kB / 436.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.959e-05/0.2429, allocations: 59.16 kB / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2431, allocations: 32.75 kB / 436.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2433, allocations: 185.6 kB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2434, allocations: 20.81 kB / 436.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.2434, allocations: 20.38 kB / 436.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.2439, allocations: 263.4 kB / 437.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2439, allocations: 3.938 kB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.2439, allocations: 12 kB / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2439, allocations: 4 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2443, allocations: 161.6 kB / 437.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.2456, allocations: 0.7469 MB / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.246, allocations: 142.8 kB / 438.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2462, allocations: 80.7 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2462, allocations: 3.984 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2462, allocations: 38.56 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.2462, allocations: 0 / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008024/0.247, allocations: 257 kB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.2471, allocations: 55.41 kB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.2473, allocations: 167.6 kB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.2473, allocations: 33.69 kB / 438.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2474, allocations: 148.4 kB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.2474, allocations: 63.39 kB / 439.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.2475, allocations: 41.64 kB / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2477, allocations: 330.8 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2478, allocations: 47.97 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.248, allocations: 99.62 kB / 439.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.2483, allocations: 140.2 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2483, allocations: 0 / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004557/0.2487, allocations: 220.6 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2487, allocations: 11.98 kB / 439.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2487, allocations: 0 / 439.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.2489, allocations: 32.78 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2491, allocations: 31.98 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2504, allocations: 1.37 MB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2506, allocations: 35.8 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.2506, allocations: 4 kB / 441.4 MB, free: 12.57 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.0001375/0.2508, allocations: 133.8 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.2508, allocations: 15.91 kB / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.2509, allocations: 17.81 kB / 441.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2509, allocations: 11.98 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2509, allocations: 7.938 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2509, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.2516, allocations: 478.2 kB / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2517, allocations: 0 / 442.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.2518, allocations: 27.98 kB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.2519, allocations: 32.83 kB / 442.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2519, allocations: 4 kB / 442.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.2531, allocations: 1.366 MB / 443.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2531, allocations: 0 / 443.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.2537, allocations: 348.1 kB / 443.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.2538, allocations: 23.86 kB / 443.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2538, allocations: 12 kB / 443.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.254, allocations: 24.09 kB / 443.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2541, allocations: 15.97 kB / 443.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2541, allocations: 4 kB / 443.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2542, allocations: 135.5 kB / 444 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2542, allocations: 0 / 444 MB, free: 9.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00031/0.2545, allocations: 55.89 kB / 444.1 MB, free: 9.688 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.0009511/0.2555, allocations: 0.8918 MB / 445 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.256, allocations: 250.5 kB / 445.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.256, allocations: 0 / 445.2 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.2563, allocations: 190.9 kB / 445.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2566, allocations: 35.84 kB / 445.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/0.2595, allocations: 2.232 MB / 447.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2596, allocations: 125.2 kB / 447.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.2597, allocations: 17.48 kB / 447.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.2598, allocations: 59.41 kB / 447.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2598, allocations: 3.938 kB / 447.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.2893, allocations: 4.909 MB / 452.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.15, allocations: 8 kB / 452.8 MB, free: 0.9648 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.817386287031695]