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.001366/0.001366, allocations: 117 kB / 18.49 MB, free: 4.566 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.001453/0.001453, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.423/1.423, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001826/0.001826, allocations: 63.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1019, allocations: 53.37 MB / 427 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003719/0.1057, allocations: 2.522 MB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1068, allocations: 0.6817 MB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1069, allocations: 4 kB / 430.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1071, allocations: 39.64 kB / 430.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1072, allocations: 63.36 kB / 430.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.1074, allocations: 75.83 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1077, allocations: 262.8 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1079, allocations: 75.42 kB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.108, allocations: 99.64 kB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1082, allocations: 107.5 kB / 431 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.1082, allocations: 20 kB / 431 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.756e-05/0.1083, allocations: 27.98 kB / 431 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.1083, allocations: 51.83 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1085, allocations: 123.3 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1088, allocations: 258.9 kB / 431.4 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1088, allocations: 4 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1088, allocations: 0 / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1088, allocations: 3.938 kB / 431.4 MB, free: 204 kB / 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.1915/0.3003, allocations: 0.5399 MB / 432 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3003, allocations: 9.5 kB / 432 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.76e-05/0.3004, allocations: 6.469 kB / 432 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.673e-05/0.3004, allocations: 59.06 kB / 432.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.3005, allocations: 32.39 kB / 432.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3008, allocations: 230.3 kB / 432.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3009, allocations: 18.03 kB / 432.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.3009, allocations: 24.02 kB / 432.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.3013, allocations: 238 kB / 432.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3014, allocations: 1.688 kB / 432.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.3014, allocations: 8.594 kB / 432.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.3014, allocations: 7.094 kB / 432.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.3018, allocations: 159.7 kB / 432.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3029, allocations: 0.8579 MB / 433.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.3032, allocations: 148.4 kB / 433.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3034, allocations: 76.47 kB / 433.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3034, allocations: 8.062 kB / 433.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.3034, allocations: 32.91 kB / 433.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.3034, allocations: 1.719 kB / 433.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000781/0.3042, allocations: 335.4 kB / 434.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.3043, allocations: 53.44 kB / 434.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3044, allocations: 177.3 kB / 434.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3044, allocations: 30.64 kB / 434.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.3045, allocations: 153.9 kB / 434.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3045, allocations: 63.16 kB / 434.7 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.3046, allocations: 41.83 kB / 434.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.3046, allocations: 329.6 kB / 435 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3047, allocations: 51.53 kB / 435.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3049, allocations: 94.98 kB / 435.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.3052, allocations: 135.1 kB / 435.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3052, allocations: 4.906 kB / 435.3 MB, free: 6.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004392/0.3056, allocations: 222.3 kB / 435.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3056, allocations: 8.719 kB / 435.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3056, allocations: 1.094 kB / 435.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.3058, allocations: 37.89 kB / 435.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.306, allocations: 34.7 kB / 435.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008688/0.3069, allocations: 1.467 MB / 437.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.307, allocations: 33.95 kB / 437.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.307, allocations: 12.52 kB / 437.1 MB, free: 4.863 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 8.072e-05/0.3071, allocations: 128.9 kB / 437.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.3072, allocations: 16.36 kB / 437.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.3072, allocations: 25.2 kB / 437.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3072, allocations: 1.188 kB / 437.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3072, allocations: 10.44 kB / 437.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3072, allocations: 2.844 kB / 437.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.3078, allocations: 0.516 MB / 437.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3078, allocations: 1.094 kB / 437.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3079, allocations: 25.8 kB / 437.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.308, allocations: 34.8 kB / 437.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3081, allocations: 4.719 kB / 437.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007047/0.3088, allocations: 1.472 MB / 439.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3088, allocations: 8.625 kB / 439.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.3093, allocations: 347.8 kB / 439.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.3094, allocations: 103.2 kB / 439.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3094, allocations: 9.688 kB / 439.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.3096, allocations: 18.73 kB / 439.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.3097, allocations: 15.62 kB / 439.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3097, allocations: 7.453 kB / 439.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.3097, allocations: 126.6 kB / 440 MB, free: 2.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3097, allocations: 1.812 kB / 440 MB, free: 2.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.3101, allocations: 67.38 kB / 440 MB, free: 2.699 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.0007234/0.3108, allocations: 0.8862 MB / 440.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.3113, allocations: 251.7 kB / 441.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3113, allocations: 0 / 441.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.3115, allocations: 185.9 kB / 441.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3118, allocations: 32.58 kB / 441.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3141, allocations: 2.219 MB / 443.6 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3144, allocations: 0.7376 MB / 444.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.159e-05/0.3145, allocations: 17.2 kB / 444.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.3146, allocations: 57.58 kB / 444.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3146, allocations: 1.469 kB / 444.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.3411, allocations: 4.589 MB / 449 MB, free: 14.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.828, allocations: 17.16 kB / 449 MB, free: 14.92 MB / 366.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/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: 12.54461938602617]