Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.91 kB / 377.7 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003804/0.2504, allocations: 2.403 MB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2515, allocations: 0.6506 MB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2516, allocations: 4 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.2518, allocations: 35.64 kB / 434.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.2519, allocations: 71.34 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2522, allocations: 59.92 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.2525, allocations: 270.7 kB / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2527, allocations: 71.89 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.2528, allocations: 103.6 kB / 434.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.253, allocations: 111.5 kB / 434.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.253, allocations: 24 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.2531, allocations: 28 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.2531, allocations: 43.84 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2532, allocations: 99.53 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.2535, allocations: 263.3 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.2535, allocations: 0 / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2535, allocations: 0 / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2536, allocations: 0 / 435.3 MB, free: 2.414 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.0009212/0.2545, allocations: 485.6 kB / 435.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2545, allocations: 11.97 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.501e-05/0.2546, allocations: 55.17 kB / 435.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2547, allocations: 40.73 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.255, allocations: 174.6 kB / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.255, allocations: 12.81 kB / 436 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.2551, allocations: 28.36 kB / 436.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.2555, allocations: 263.6 kB / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2556, allocations: 0 / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2556, allocations: 8 kB / 436.3 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2556, allocations: 8 kB / 436.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.256, allocations: 157.7 kB / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.2572, allocations: 0.7352 MB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.2576, allocations: 150.6 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2578, allocations: 72.77 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2578, allocations: 3.938 kB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.2579, allocations: 46.48 kB / 437.5 MB, free: 36 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.2579, allocations: 0 / 437.5 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000857/0.2587, allocations: 260.9 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2588, allocations: 51.41 kB / 437.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2589, allocations: 175.3 kB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.259, allocations: 29.69 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2591, allocations: 156.4 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.2591, allocations: 51.53 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.2592, allocations: 41.7 kB / 438.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2593, allocations: 334.8 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2595, allocations: 47.97 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.2597, allocations: 98.31 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.26, allocations: 136.2 kB / 438.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.26, allocations: 4 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004999/0.2605, allocations: 224.6 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2605, allocations: 4 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2605, allocations: 7.984 kB / 439.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.2607, allocations: 32.78 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2609, allocations: 32.11 kB / 439.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2622, allocations: 1.362 MB / 440.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.2624, allocations: 43.78 kB / 440.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.2624, allocations: 8 kB / 440.6 MB, free: 12.76 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.0001407/0.2626, allocations: 129.8 kB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.2626, allocations: 19.91 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.2627, allocations: 17.81 kB / 440.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2627, allocations: 4 kB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2627, allocations: 7.922 kB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2627, allocations: 0 / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.2635, allocations: 482.2 kB / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2635, allocations: 0 / 441.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2636, allocations: 23.98 kB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.2637, allocations: 40.83 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2638, allocations: 4 kB / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.265, allocations: 1.366 MB / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.265, allocations: 0 / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.2656, allocations: 351.6 kB / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.2657, allocations: 31.81 kB / 443 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2657, allocations: 4 kB / 443 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2659, allocations: 19.97 kB / 443 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.266, allocations: 19.97 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.266, allocations: 4 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.2661, allocations: 136.2 kB / 443.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2661, allocations: 4 kB / 443.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000333/0.2665, allocations: 59.95 kB / 443.3 MB, free: 9.863 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.0009959/0.2675, allocations: 0.8848 MB / 444.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.268, allocations: 250.9 kB / 444.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.268, allocations: 4 kB / 444.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.2683, allocations: 190.5 kB / 444.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.2686, allocations: 27.92 kB / 444.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.2716, allocations: 2.228 MB / 446.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.2717, allocations: 133.2 kB / 447 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.348e-05/0.2718, allocations: 13.42 kB / 447 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.2719, allocations: 59.42 kB / 447 MB, free: 5.906 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2719, allocations: 0 / 447 MB, free: 5.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.307, allocations: 5.304 MB / 452.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.08, allocations: 17.94 kB / 452.4 MB, free: 0.7656 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.52170192199992]