Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 188.2 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 43.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003804/0.2414, allocations: 2.535 MB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2425, allocations: 0.6545 MB / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2426, allocations: 11.94 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2427, allocations: 35.64 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2429, allocations: 63.41 kB / 425.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.2431, allocations: 71.86 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.2434, allocations: 274.7 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.2436, allocations: 67.91 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.2437, allocations: 95.7 kB / 426.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.2439, allocations: 119.5 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2439, allocations: 24 kB / 426.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.244, allocations: 24 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.565e-05/0.2441, allocations: 47.84 kB / 426.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2442, allocations: 115.4 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.2445, allocations: 255.4 kB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2445, allocations: 4 kB / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2445, allocations: 0 / 427 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2445, allocations: 0 / 427 MB, free: 10.21 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.0009328/0.2454, allocations: 489.5 kB / 427.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2455, allocations: 12.03 kB / 427.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.479e-05/0.2456, allocations: 71.05 kB / 427.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.2457, allocations: 24.8 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.246, allocations: 174.6 kB / 427.7 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.246, allocations: 16.81 kB / 427.8 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.246, allocations: 24.38 kB / 427.8 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.2465, allocations: 230 kB / 428 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2465, allocations: 0 / 428 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2465, allocations: 16 kB / 428 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2465, allocations: 7.938 kB / 428 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.2469, allocations: 157.6 kB / 428.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.2481, allocations: 0.782 MB / 429 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.2485, allocations: 150.6 kB / 429.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2487, allocations: 72.81 kB / 429.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2487, allocations: 0 / 429.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.2487, allocations: 42.44 kB / 429.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.2487, allocations: 0 / 429.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007963/0.2495, allocations: 250.3 kB / 429.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.2496, allocations: 55.41 kB / 429.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.2497, allocations: 175.2 kB / 429.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2498, allocations: 33.7 kB / 429.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2499, allocations: 148.4 kB / 429.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.2499, allocations: 59.48 kB / 429.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.25, allocations: 41.7 kB / 430 MB, free: 7.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2502, allocations: 330.8 kB / 430.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2503, allocations: 51.97 kB / 430.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2505, allocations: 88.25 kB / 430.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.2508, allocations: 144.2 kB / 430.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2508, allocations: 0 / 430.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004688/0.2512, allocations: 226.1 kB / 430.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2512, allocations: 6.812 kB / 430.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2513, allocations: 7.984 kB / 430.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.2514, allocations: 32.78 kB / 430.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2516, allocations: 39.92 kB / 430.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2529, allocations: 1.362 MB / 432.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.2531, allocations: 35.92 kB / 432.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2531, allocations: 4 kB / 432.3 MB, free: 4.547 MB / 334.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.0001592/0.2533, allocations: 142.7 kB / 432.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.2533, allocations: 15.91 kB / 432.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.2534, allocations: 17.81 kB / 432.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2534, allocations: 4 kB / 432.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2534, allocations: 3.938 kB / 432.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2534, allocations: 7.984 kB / 432.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.2541, allocations: 498.1 kB / 432.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2541, allocations: 0 / 432.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.2543, allocations: 23.98 kB / 433 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2544, allocations: 40.95 kB / 433 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2544, allocations: 4 kB / 433 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.2556, allocations: 1.362 MB / 434.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2556, allocations: 4.062 kB / 434.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.2562, allocations: 351.6 kB / 434.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.2563, allocations: 31.86 kB / 434.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2563, allocations: 3.984 kB / 434.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2565, allocations: 24.05 kB / 434.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.2566, allocations: 19.97 kB / 434.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.2566, allocations: 4 kB / 434.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.2567, allocations: 127.2 kB / 434.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2567, allocations: 0 / 434.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000298/0.257, allocations: 63.89 kB / 435 MB, free: 1.629 MB / 334.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.0009551/0.2579, allocations: 0.8864 MB / 435.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.2585, allocations: 262.5 kB / 436.1 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2585, allocations: 0 / 436.1 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.2587, allocations: 178.7 kB / 436.3 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.259, allocations: 32.17 kB / 436.3 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.2621, allocations: 2.226 MB / 438.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.2625, allocations: 0.736 MB / 439.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.064e-05/0.2626, allocations: 17.47 kB / 439.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.2627, allocations: 55.42 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2627, allocations: 4 kB / 439.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.301, allocations: 4.699 MB / 444.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.37, allocations: 10.34 kB / 444.1 MB, free: 8.508 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.845566959120333]