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.001307/0.001307, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00142/0.00142, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.431/1.431, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.001583/0.001583, allocations: 51.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09656, allocations: 53.32 MB / 426.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004206/0.1008, allocations: 2.522 MB / 428.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1022, allocations: 0.6817 MB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.1024, allocations: 4 kB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1026, allocations: 39.58 kB / 429.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1027, allocations: 67.36 kB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.103, allocations: 67.83 kB / 429.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.1034, allocations: 270.7 kB / 429.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.1036, allocations: 71.42 kB / 430 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1037, allocations: 95.7 kB / 430.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1039, allocations: 107.5 kB / 430.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.104, allocations: 24 kB / 430.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.1041, allocations: 27.94 kB / 430.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1041, allocations: 47.83 kB / 430.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.1043, allocations: 123.4 kB / 430.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.1047, allocations: 258.9 kB / 430.7 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1047, allocations: 0 / 430.7 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1047, allocations: 11.94 kB / 430.7 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1047, allocations: 0 / 430.7 MB, free: 420 kB / 350.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.1917/0.2964, allocations: 0.5375 MB / 431.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2964, allocations: 10.19 kB / 431.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.2965, allocations: 57.47 kB / 431.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.2967, allocations: 31.02 kB / 431.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.297, allocations: 232 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.297, allocations: 16.22 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.2971, allocations: 22.84 kB / 431.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.2975, allocations: 230.7 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2975, allocations: 4.906 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2976, allocations: 10.47 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2976, allocations: 5.438 kB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.298, allocations: 162.3 kB / 432 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2991, allocations: 0.821 MB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.2994, allocations: 150.2 kB / 433 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2996, allocations: 75.31 kB / 433 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2996, allocations: 6.312 kB / 433 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2996, allocations: 32.69 kB / 433.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.2996, allocations: 1.578 kB / 433.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008203/0.3005, allocations: 341.6 kB / 433.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3005, allocations: 52.59 kB / 433.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3006, allocations: 181.6 kB / 433.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3006, allocations: 29.95 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3007, allocations: 146.1 kB / 433.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3008, allocations: 65 kB / 433.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.3008, allocations: 36.44 kB / 433.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.3009, allocations: 330 kB / 434.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.301, allocations: 57.52 kB / 434.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.3011, allocations: 86.64 kB / 434.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3014, allocations: 141.5 kB / 434.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3014, allocations: 1.219 kB / 434.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004236/0.3018, allocations: 222.9 kB / 434.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3019, allocations: 11.94 kB / 434.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3019, allocations: 1.375 kB / 434.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.302, allocations: 37.61 kB / 434.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3022, allocations: 36.5 kB / 434.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/0.303, allocations: 1.464 MB / 436.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3032, allocations: 37.94 kB / 436.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3032, allocations: 9.375 kB / 436.3 MB, free: 8.031 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 8.385e-05/0.3033, allocations: 128.6 kB / 436.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3033, allocations: 19.23 kB / 436.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.3034, allocations: 20.48 kB / 436.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3034, allocations: 8.094 kB / 436.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3034, allocations: 2.484 kB / 436.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3034, allocations: 5.031 kB / 436.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.304, allocations: 0.5165 MB / 437 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.304, allocations: 0 / 437 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3041, allocations: 25.84 kB / 437 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.3043, allocations: 37.7 kB / 437.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3043, allocations: 6.281 kB / 437.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/0.305, allocations: 1.46 MB / 438.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.305, allocations: 5.969 kB / 438.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.3056, allocations: 352.8 kB / 438.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.3057, allocations: 110.2 kB / 439 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3057, allocations: 9.438 kB / 439 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3059, allocations: 21.55 kB / 439 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.3059, allocations: 15.69 kB / 439.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3059, allocations: 9 kB / 439.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.306, allocations: 127.6 kB / 439.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.306, allocations: 0.7656 kB / 439.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.3064, allocations: 66.7 kB / 439.3 MB, free: 5.574 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.0007997/0.3072, allocations: 0.8776 MB / 440.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005226/0.3077, allocations: 258.7 kB / 440.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3077, allocations: 0 / 440.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.3079, allocations: 183.9 kB / 440.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3083, allocations: 37.47 kB / 440.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.3107, allocations: 2.229 MB / 442.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.3109, allocations: 0.736 MB / 443.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.311, allocations: 17.52 kB / 443.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.3111, allocations: 57 kB / 443.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3111, allocations: 0 / 443.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.3461, allocations: 4.552 MB / 448.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.638/9.984, allocations: 12.86 kB / 448.2 MB, free: 1.531 MB / 350.1 MB " [Timeout remaining time 650] (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: 12.544944297987968]