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.001232/0.001232, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001301/0.001301, allocations: 181.7 kB / 23.72 MB, free: 4.699 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.382/1.382, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 52.18 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004596/0.2633, allocations: 3.1 MB / 425.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.2651, allocations: 0.9709 MB / 426.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2652, allocations: 15.88 kB / 426.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.2655, allocations: 95.05 kB / 426.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2657, allocations: 99.02 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.2662, allocations: 227.6 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.2669, allocations: 0.541 MB / 427.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.2672, allocations: 147.2 kB / 427.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.2674, allocations: 183.2 kB / 428 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2676, allocations: 178.9 kB / 428.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.2677, allocations: 40 kB / 428.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2678, allocations: 48 kB / 428.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.2679, allocations: 87.64 kB / 428.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.2681, allocations: 226.7 kB / 428.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.2687, allocations: 0.5798 MB / 429.1 MB, free: 8.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2687, allocations: 4 kB / 429.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2687, allocations: 0 / 429.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2688, allocations: 7.875 kB / 429.1 MB, free: 8.012 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001014/0.2698, allocations: 0.6804 MB / 429.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2698, allocations: 8.031 kB / 429.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.987e-05/0.2699, allocations: 78.7 kB / 429.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.27, allocations: 68.06 kB / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.2706, allocations: 359.4 kB / 430.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.2707, allocations: 29 kB / 430.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.2707, allocations: 44 kB / 430.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.2716, allocations: 487.4 kB / 430.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2716, allocations: 4 kB / 430.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2716, allocations: 16 kB / 430.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2716, allocations: 16 kB / 430.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.2721, allocations: 250.1 kB / 431.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.2744, allocations: 2.747 MB / 433.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2748, allocations: 153.8 kB / 434 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.275, allocations: 72.88 kB / 434.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.3e-05/0.2751, allocations: 4 kB / 434.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.2751, allocations: 38.48 kB / 434.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2751, allocations: 0 / 434.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001207/0.2763, allocations: 0.5511 MB / 434.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2763, allocations: 63.31 kB / 434.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.2767, allocations: 345.6 kB / 435.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2767, allocations: 25.7 kB / 435.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2769, allocations: 311.7 kB / 435.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.277, allocations: 63.42 kB / 435.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.2771, allocations: 65.66 kB / 435.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2772, allocations: 350.7 kB / 435.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2774, allocations: 71.95 kB / 436 MB, free: 0.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.2776, allocations: 219.5 kB / 436.2 MB, free: 0.5078 MB / 334.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.0008707/0.2785, allocations: 448.6 kB / 436.6 MB, free: 4 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2785, allocations: 4 kB / 436.6 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00059/0.2791, allocations: 358.2 kB / 437 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2791, allocations: 16.03 kB / 437 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2791, allocations: 4 kB / 437 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.2792, allocations: 36.84 kB / 437 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2795, allocations: 71.91 kB / 437.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2808, allocations: 1.535 MB / 438.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2809, allocations: 19.92 kB / 438.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.281, allocations: 16 kB / 438.7 MB, free: 13.83 MB / 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.0002019/0.2812, allocations: 165.8 kB / 438.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.2812, allocations: 43.7 kB / 438.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.2813, allocations: 43.52 kB / 438.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2813, allocations: 0 / 438.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2813, allocations: 0 / 438.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2813, allocations: 0 / 438.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.2823, allocations: 0.6783 MB / 439.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2823, allocations: 4.031 kB / 439.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.2825, allocations: 35.97 kB / 439.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-05/0.2825, allocations: 24.8 kB / 439.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2826, allocations: 11.98 kB / 439.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.2836, allocations: 1.331 MB / 441 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2836, allocations: 0 / 441 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.2841, allocations: 365.3 kB / 441.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.2841, allocations: 31.83 kB / 441.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2842, allocations: 4 kB / 441.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.2843, allocations: 8.031 kB / 441.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.2843, allocations: 19.86 kB / 441.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2843, allocations: 4 kB / 441.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.2846, allocations: 231.2 kB / 441.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2846, allocations: 0 / 441.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004111/0.285, allocations: 68 kB / 441.7 MB, free: 10.56 MB / 350.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.0008649/0.2859, allocations: 0.8972 MB / 442.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005837/0.2864, allocations: 322.2 kB / 442.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2864, allocations: 0 / 442.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2867, allocations: 176 kB / 443.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.287, allocations: 42.39 kB / 443.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.2915, allocations: 3.355 MB / 446.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.292, allocations: 0.8185 MB / 447.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2921, allocations: 39.22 kB / 447.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.2923, allocations: 159.4 kB / 447.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2923, allocations: 0 / 447.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.3333, allocations: 6.56 MB / 454.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.59, allocations: 11.23 kB / 454.1 MB, free: 14.05 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.852402999065816]