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.001532/0.001532, allocations: 110 kB / 20.43 MB, free: 1.453 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.001721/0.001721, allocations: 213.4 kB / 23.74 MB, free: 4.66 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.422/1.422, allocations: 230.5 MB / 257.4 MB, free: 8 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.001848/0.001848, allocations: 63.89 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2525, allocations: 53.41 MB / 431.2 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004128/0.2566, allocations: 2.54 MB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2579, allocations: 0.6895 MB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.258, allocations: 4 kB / 434.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.2582, allocations: 35.64 kB / 434.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2583, allocations: 71.34 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2586, allocations: 75.78 kB / 434.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003296/0.2589, allocations: 258.8 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2591, allocations: 75.89 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2592, allocations: 95.7 kB / 435 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2594, allocations: 115.5 kB / 435.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.2595, allocations: 20 kB / 435.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.2596, allocations: 27.94 kB / 435.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2596, allocations: 47.83 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.2597, allocations: 119.5 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.2601, allocations: 259.3 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2601, allocations: 7.984 kB / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2601, allocations: 0 / 435.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2601, allocations: 0 / 435.6 MB, free: 2.289 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.001007/0.2611, allocations: 481.6 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2612, allocations: 8.031 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.549e-05/0.2613, allocations: 59.16 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2614, allocations: 28.75 kB / 436.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.2618, allocations: 181.6 kB / 436.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2618, allocations: 20.81 kB / 436.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.2619, allocations: 16.38 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.2623, allocations: 238 kB / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2624, allocations: 0 / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2624, allocations: 8 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2624, allocations: 4 kB / 436.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.2628, allocations: 161.6 kB / 436.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2642, allocations: 0.7937 MB / 437.6 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.2645, allocations: 146.6 kB / 437.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2647, allocations: 76.83 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2647, allocations: 4 kB / 437.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.2648, allocations: 38.5 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2648, allocations: 0 / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008655/0.2656, allocations: 254.1 kB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2657, allocations: 59.41 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.2659, allocations: 179.5 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.2659, allocations: 33.64 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2661, allocations: 144.4 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.2661, allocations: 59.47 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.2662, allocations: 37.72 kB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.2664, allocations: 330.8 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2665, allocations: 59.91 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2667, allocations: 91.62 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.267, allocations: 146.8 kB / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.267, allocations: 0 / 439.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004909/0.2675, allocations: 218.1 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2675, allocations: 4 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2675, allocations: 4 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.2678, allocations: 32.95 kB / 439.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2679, allocations: 39.92 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.2693, allocations: 1.366 MB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2695, allocations: 27.88 kB / 440.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2695, allocations: 4 kB / 440.9 MB, free: 12.64 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.0001554/0.2697, allocations: 142 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.2697, allocations: 19.86 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.2698, allocations: 21.8 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2698, allocations: 4 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2698, allocations: 3.938 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2698, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.2705, allocations: 497.7 kB / 441.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2706, allocations: 8 kB / 441.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.2707, allocations: 27.92 kB / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.2708, allocations: 36.83 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2708, allocations: 4 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.272, allocations: 1.358 MB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2721, allocations: 4.031 kB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.2727, allocations: 356.1 kB / 443.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.2727, allocations: 23.86 kB / 443.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2728, allocations: 8 kB / 443.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.273, allocations: 19.97 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.273, allocations: 16.11 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.273, allocations: 19.98 kB / 443.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.2732, allocations: 127.5 kB / 443.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2732, allocations: 0 / 443.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003352/0.2735, allocations: 63.84 kB / 443.6 MB, free: 9.707 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.0009992/0.2745, allocations: 0.8909 MB / 444.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.2751, allocations: 242.5 kB / 444.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2751, allocations: 0 / 444.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2754, allocations: 202.2 kB / 444.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2757, allocations: 35.92 kB / 445 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.279, allocations: 2.223 MB / 447.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.2795, allocations: 0.7359 MB / 447.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.728e-05/0.2796, allocations: 17.48 kB / 447.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2797, allocations: 55.42 kB / 448 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2797, allocations: 0 / 448 MB, free: 5.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.3176, allocations: 4.698 MB / 452.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.45, allocations: 12 kB / 452.7 MB, free: 0.5547 MB / 350.1 MB " [Timeout remaining time 648] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 13.958975841058418]