Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001263/0.001263, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001368/0.001368, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.438/1.438, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 47.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09754, allocations: 53.32 MB / 426.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004327/0.1019, allocations: 3.097 MB / 429.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1037, allocations: 1.033 MB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1039, allocations: 19.81 kB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1042, allocations: 95.03 kB / 430.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1044, allocations: 95.02 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1049, allocations: 231.6 kB / 430.9 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.181/0.2859, allocations: 0.541 MB / 431.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.2862, allocations: 149.8 kB / 431.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.2866, allocations: 191.2 kB / 431.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2868, allocations: 178 kB / 431.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.2869, allocations: 36.56 kB / 431.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.287, allocations: 55.03 kB / 432 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.2871, allocations: 88.88 kB / 432.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.2872, allocations: 230.5 kB / 432.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006019/0.2878, allocations: 0.5949 MB / 432.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2878, allocations: 0 / 432.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2878, allocations: 1.781 kB / 432.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2878, allocations: 0 / 432.9 MB, free: 7.352 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008424/0.2887, allocations: 0.7577 MB / 433.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2887, allocations: 10.09 kB / 433.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.2888, allocations: 76.14 kB / 433.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.289, allocations: 69.75 kB / 433.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.2895, allocations: 429.4 kB / 434.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.2896, allocations: 28.53 kB / 434.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.2896, allocations: 44.58 kB / 434.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.2902, allocations: 488.4 kB / 434.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2902, allocations: 8.719 kB / 434.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.2903, allocations: 20.44 kB / 434.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2903, allocations: 11.72 kB / 434.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.2907, allocations: 238.7 kB / 435 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2923, allocations: 2.821 MB / 437.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.2927, allocations: 155 kB / 438 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.2929, allocations: 73.81 kB / 438.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.293, allocations: 83 kB / 438.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.293, allocations: 34.41 kB / 438.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.293, allocations: 0 / 438.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001177/0.2942, allocations: 0.6335 MB / 438.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2942, allocations: 56.5 kB / 438.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.2945, allocations: 352.2 kB / 439.2 MB, free: 3.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2945, allocations: 26.55 kB / 439.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.2947, allocations: 309 kB / 439.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.2947, allocations: 66.14 kB / 439.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.2948, allocations: 66.19 kB / 439.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.2949, allocations: 345.9 kB / 440 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.295, allocations: 68.16 kB / 440.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2952, allocations: 219.5 kB / 440.3 MB, free: 2.531 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.296, allocations: 0.5172 MB / 440.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.296, allocations: 4.062 kB / 440.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005377/0.2966, allocations: 356 kB / 441.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2966, allocations: 14.91 kB / 441.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.2966, allocations: 5.422 kB / 441.2 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.2967, allocations: 33.61 kB / 441.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.297, allocations: 77.7 kB / 441.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008741/0.2978, allocations: 1.634 MB / 442.9 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.298, allocations: 12.06 kB / 443 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.298, allocations: 17.94 kB / 443 MB, free: 384 kB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001466/0.2981, allocations: 170.9 kB / 443.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2982, allocations: 40.08 kB / 443.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.2983, allocations: 40.41 kB / 443.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2983, allocations: 6.125 kB / 443.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2983, allocations: 1.062 kB / 443.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2983, allocations: 1.969 kB / 443.2 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2993, allocations: 0.7062 MB / 443.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2993, allocations: 4.031 kB / 443.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.2994, allocations: 32.41 kB / 444 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.2995, allocations: 23.38 kB / 444 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2995, allocations: 7.984 kB / 444 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.3007, allocations: 1.437 MB / 445.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3007, allocations: 0.625 kB / 445.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3012, allocations: 376.7 kB / 445.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.3013, allocations: 105 kB / 445.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3013, allocations: 4.906 kB / 445.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3014, allocations: 6.703 kB / 445.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.3015, allocations: 11.58 kB / 445.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3015, allocations: 8.25 kB / 445.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3018, allocations: 234.2 kB / 446.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3018, allocations: 0 / 446.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.3022, allocations: 67.5 kB / 446.2 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008624/0.303, allocations: 0.9076 MB / 447.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.3036, allocations: 310.6 kB / 447.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3036, allocations: 0.5938 kB / 447.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.3039, allocations: 177.8 kB / 447.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.3042, allocations: 45.3 kB / 447.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.3086, allocations: 3.348 MB / 451 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.3091, allocations: 0.8168 MB / 451.8 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3093, allocations: 39.77 kB / 451.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3095, allocations: 157 kB / 452 MB, free: 9.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3095, allocations: 0 / 452 MB, free: 9.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/0.3498, allocations: 6.338 MB / 458.4 MB, free: 8.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.775/10.12, allocations: 15.08 kB / 458.4 MB, free: 8.363 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.433377981884405]