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.001289/0.001289, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001461/0.001461, allocations: 216 kB / 23.73 MB, free: 4.406 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.001951/0.001951, allocations: 71.89 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2514, allocations: 53.4 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004093/0.2555, allocations: 2.404 MB / 433.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2567, allocations: 0.6468 MB / 434.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.2568, allocations: 7.938 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.257, allocations: 31.64 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.2571, allocations: 71.34 kB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.2574, allocations: 71.84 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.2577, allocations: 266.8 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.2579, allocations: 63.91 kB / 434.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.258, allocations: 99.69 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.2582, allocations: 103.5 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.2582, allocations: 20 kB / 434.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.2583, allocations: 24 kB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.2584, allocations: 51.77 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.2585, allocations: 95.59 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.2588, allocations: 252.9 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2588, allocations: 4 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2588, allocations: 3.938 kB / 435.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2588, allocations: 0 / 435.3 MB, free: 2.23 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.0009235/0.2597, allocations: 489.6 kB / 435.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2598, allocations: 19.92 kB / 435.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.652e-05/0.2599, allocations: 55.16 kB / 435.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.26, allocations: 36.69 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.2603, allocations: 177.6 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2603, allocations: 16.81 kB / 436.1 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.2604, allocations: 20.38 kB / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.2608, allocations: 259.7 kB / 436.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2609, allocations: 7.938 kB / 436.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.2609, allocations: 8 kB / 436.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2609, allocations: 4 kB / 436.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.2613, allocations: 157.7 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2627, allocations: 0.7431 MB / 437.3 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.2631, allocations: 142.8 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2633, allocations: 72.81 kB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2633, allocations: 4 kB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.2633, allocations: 46.44 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2633, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008328/0.2642, allocations: 257.4 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2642, allocations: 55.34 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2644, allocations: 182.7 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2644, allocations: 29.7 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.2645, allocations: 148.4 kB / 438.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.2646, allocations: 55.53 kB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.2646, allocations: 37.7 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2648, allocations: 330.8 kB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.265, allocations: 47.97 kB / 438.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.2651, allocations: 95.81 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.2654, allocations: 140.2 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2654, allocations: 4 kB / 438.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004744/0.2659, allocations: 224.4 kB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2659, allocations: 12.06 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2659, allocations: 4 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.2661, allocations: 36.83 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2663, allocations: 35.91 kB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.2676, allocations: 1.354 MB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2678, allocations: 39.81 kB / 440.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2678, allocations: 8 kB / 440.6 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.0001389/0.268, allocations: 133.8 kB / 440.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.268, allocations: 19.84 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.268, allocations: 21.8 kB / 440.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.268, allocations: 4 kB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2681, allocations: 3.938 kB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2681, allocations: 0 / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007801/0.2688, allocations: 486.2 kB / 441.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2688, allocations: 0 / 441.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.269, allocations: 27.98 kB / 441.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/0.2691, allocations: 32.97 kB / 441.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2691, allocations: 7.984 kB / 441.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2703, allocations: 1.358 MB / 442.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2703, allocations: 0 / 442.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.2709, allocations: 352.1 kB / 443 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.271, allocations: 23.86 kB / 443.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.271, allocations: 11.98 kB / 443.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2712, allocations: 20.11 kB / 443.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.2713, allocations: 15.97 kB / 443.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2713, allocations: 7.984 kB / 443.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.2714, allocations: 132.3 kB / 443.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2714, allocations: 0 / 443.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.2717, allocations: 59.89 kB / 443.3 MB, free: 9.684 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.001021/0.2727, allocations: 0.8876 MB / 444.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006089/0.2733, allocations: 246.5 kB / 444.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2733, allocations: 4 kB / 444.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2736, allocations: 190.5 kB / 444.6 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.0003523/0.2739, allocations: 42.42 kB / 444.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.2771, allocations: 2.229 MB / 446.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2773, allocations: 129.2 kB / 447 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.952e-05/0.2774, allocations: 21.47 kB / 447 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2775, allocations: 59.41 kB / 447.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2775, allocations: 0 / 447.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04516/0.3226, allocations: 5.238 MB / 452.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.61, allocations: 4.234 kB / 452.3 MB, free: 0.6172 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: 14.115370991174132]