Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001132/0.001132, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.001206/0.001206, allocations: 189 kB / 21.43 MB, free: 1.676 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.337/1.337, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 55.86 kB / 366.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.0938, allocations: 52.14 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004256/0.09806, allocations: 3.083 MB / 421.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.09969, allocations: 0.9592 MB / 422.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.09987, allocations: 23.81 kB / 422.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1001, allocations: 95.05 kB / 422.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1003, allocations: 95 kB / 422.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1008, allocations: 223.6 kB / 422.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005761/0.1013, allocations: 0.5371 MB / 423.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.1016, allocations: 154.7 kB / 423.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1018, allocations: 179.3 kB / 423.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.102, allocations: 179 kB / 424 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1021, allocations: 40 kB / 424 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1022, allocations: 51.94 kB / 424.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1023, allocations: 91.62 kB / 424.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.1025, allocations: 226.7 kB / 424.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1031, allocations: 0.5833 MB / 425 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1031, allocations: 0 / 425 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1031, allocations: 3.938 kB / 425 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1032, allocations: 0 / 425 MB, free: 6.109 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.0009958/0.1041, allocations: 0.7518 MB / 425.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1042, allocations: 12.03 kB / 425.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.626e-05/0.1042, allocations: 13.19 kB / 425.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/0.1043, allocations: 78.72 kB / 425.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.328e-05/0.1044, allocations: 63.88 kB / 425.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.105, allocations: 426.6 kB / 426.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.105, allocations: 29 kB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.1051, allocations: 43.98 kB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/0.1058, allocations: 487.4 kB / 426.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1058, allocations: 11.94 kB / 426.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.1058, allocations: 16 kB / 426.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1059, allocations: 19.88 kB / 426.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000465/0.1063, allocations: 246.2 kB / 427.1 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.1087, allocations: 2.819 MB / 429.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1091, allocations: 146.6 kB / 430.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1092, allocations: 64.88 kB / 430.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1094, allocations: 89.05 kB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.1094, allocations: 38.55 kB / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1094, allocations: 0 / 430.3 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001284/0.1107, allocations: 0.6256 MB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1107, allocations: 59.34 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.1111, allocations: 345.6 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1111, allocations: 29.7 kB / 431.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.1113, allocations: 307.7 kB / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.1114, allocations: 67.48 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.1115, allocations: 69.64 kB / 431.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1116, allocations: 346.8 kB / 432.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1118, allocations: 67.95 kB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.112, allocations: 219.3 kB / 432.4 MB, free: 14.15 MB / 366.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.0009574/0.113, allocations: 0.5185 MB / 432.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.113, allocations: 0 / 432.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005829/0.1136, allocations: 363.8 kB / 433.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1136, allocations: 12.62 kB / 433.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1136, allocations: 4 kB / 433.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.1137, allocations: 40.84 kB / 433.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.114, allocations: 75.91 kB / 433.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.1153, allocations: 1.635 MB / 435 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1155, allocations: 8 kB / 435 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1155, allocations: 20 kB / 435 MB, free: 11.25 MB / 366.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.0002008/0.1157, allocations: 173.6 kB / 435.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.1158, allocations: 35.77 kB / 435.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.961e-05/0.1158, allocations: 39.66 kB / 435.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1158, allocations: 8 kB / 435.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1158, allocations: 0 / 435.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1158, allocations: 0 / 435.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/0.1168, allocations: 0.7142 MB / 436 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1168, allocations: 0 / 436 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.117, allocations: 31.98 kB / 436 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.1171, allocations: 32.88 kB / 436.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1171, allocations: 3.938 kB / 436.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.1181, allocations: 1.434 MB / 437.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1181, allocations: 0 / 437.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.1186, allocations: 367.4 kB / 437.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.1187, allocations: 104.9 kB / 438 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1187, allocations: 12.06 kB / 438 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1189, allocations: 48 / 438 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1189, allocations: 23.91 kB / 438 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1189, allocations: 4 kB / 438 MB, free: 8.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.1191, allocations: 239.1 kB / 438.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1191, allocations: 0 / 438.2 MB, free: 7.773 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.1195, allocations: 68 kB / 438.3 MB, free: 7.707 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.000826/0.1204, allocations: 0.8934 MB / 439.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.1209, allocations: 310.9 kB / 439.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1209, allocations: 0 / 439.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.1211, allocations: 185.8 kB / 439.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1215, allocations: 42.3 kB / 439.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.1255, allocations: 3.338 MB / 443.1 MB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1259, allocations: 0.8145 MB / 443.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.126, allocations: 43.27 kB / 443.9 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1262, allocations: 155.4 kB / 444.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1262, allocations: 0 / 444.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1833/0.3095, allocations: 6.346 MB / 450.4 MB, free: 29.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.744/10.05, allocations: 12.81 kB / 450.4 MB, free: 29.96 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.286416101967916]