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.001663/0.001663, allocations: 113.2 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.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.001998/0.001998, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001735/0.001735, allocations: 39.94 kB / 377.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 53.37 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00427/0.2698, allocations: 2.547 MB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.271, allocations: 0.6817 MB / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2711, allocations: 8 kB / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.2713, allocations: 39.58 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2714, allocations: 71.39 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2717, allocations: 63.8 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.272, allocations: 270.8 kB / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2722, allocations: 67.91 kB / 434.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2723, allocations: 103.7 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2725, allocations: 111.5 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.2725, allocations: 23.94 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.2726, allocations: 28 kB / 435.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.2726, allocations: 47.84 kB / 435.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2728, allocations: 119.5 kB / 435.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.2731, allocations: 255.3 kB / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2731, allocations: 0 / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2731, allocations: 0 / 435.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2731, allocations: 0 / 435.5 MB, free: 2.441 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.0009545/0.2741, allocations: 485.6 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2741, allocations: 8.031 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.434e-05/0.2742, allocations: 67.16 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.2743, allocations: 32.75 kB / 436.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.2746, allocations: 176.2 kB / 436.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2746, allocations: 16.81 kB / 436.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.2747, allocations: 24.38 kB / 436.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.2751, allocations: 226 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2751, allocations: 8 kB / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2752, allocations: 11.98 kB / 436.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2752, allocations: 4 kB / 436.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.2756, allocations: 161.6 kB / 436.7 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2769, allocations: 0.782 MB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.2772, allocations: 154.6 kB / 437.7 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2774, allocations: 68.83 kB / 437.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2774, allocations: 0 / 437.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2775, allocations: 34.5 kB / 437.8 MB, free: 64 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.2775, allocations: 4 kB / 437.8 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008135/0.2783, allocations: 266.2 kB / 438 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2783, allocations: 55.34 kB / 438.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.2785, allocations: 176.1 kB / 438.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2785, allocations: 33.64 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.2786, allocations: 148.4 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.2787, allocations: 59.48 kB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.2787, allocations: 41.7 kB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2789, allocations: 326.8 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.279, allocations: 55.95 kB / 438.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2792, allocations: 90.33 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.2795, allocations: 142.7 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2795, allocations: 0 / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004596/0.2799, allocations: 222.1 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.28, allocations: 8 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.28, allocations: 0 / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/0.2802, allocations: 36.83 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2803, allocations: 35.92 kB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.2816, allocations: 1.37 MB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.2818, allocations: 27.97 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2818, allocations: 12 kB / 440.8 MB, free: 12.77 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.0001262/0.2819, allocations: 129.8 kB / 441 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.2819, allocations: 23.8 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.282, allocations: 25.8 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.282, allocations: 0 / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.282, allocations: 7.938 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.282, allocations: 4 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007625/0.2828, allocations: 493.3 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2828, allocations: 4 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2829, allocations: 27.98 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.283, allocations: 24.84 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.283, allocations: 11.98 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.2842, allocations: 1.373 MB / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2842, allocations: 0 / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.2848, allocations: 352 kB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.2849, allocations: 27.86 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2849, allocations: 0 / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2851, allocations: 32.03 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.2852, allocations: 15.97 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2852, allocations: 4 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2853, allocations: 131.5 kB / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2853, allocations: 0 / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.2856, allocations: 63.84 kB / 443.6 MB, free: 9.852 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.0009294/0.2865, allocations: 0.8848 MB / 444.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2871, allocations: 264.6 kB / 444.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2871, allocations: 0 / 444.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.2874, allocations: 190.6 kB / 444.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2877, allocations: 36.16 kB / 444.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.2906, allocations: 2.23 MB / 447.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.291, allocations: 0.7359 MB / 447.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.778e-05/0.2911, allocations: 9.5 kB / 447.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.2912, allocations: 55.41 kB / 448 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2912, allocations: 4 kB / 448 MB, free: 5.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.3288, allocations: 4.698 MB / 452.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.47, allocations: 10.81 kB / 452.7 MB, free: 0.7227 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.152502740034834]