Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 63.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09182, allocations: 53.38 MB / 427 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004221/0.09604, allocations: 3.089 MB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.09768, allocations: 1.033 MB / 431.2 MB, free: 484 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.09784, allocations: 15.88 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.09809, allocations: 95.05 kB / 431.3 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.09826, allocations: 99.02 kB / 431.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.09878, allocations: 235.5 kB / 431.6 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1693/0.2681, allocations: 0.5351 MB / 432.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.2685, allocations: 150.2 kB / 432.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.2689, allocations: 187.8 kB / 432.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2691, allocations: 180.5 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.2692, allocations: 40.47 kB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.2694, allocations: 60.16 kB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.2694, allocations: 85.91 kB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2696, allocations: 226.3 kB / 433 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.2703, allocations: 0.5873 MB / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2703, allocations: 4.5 kB / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2703, allocations: 0.7188 kB / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2703, allocations: 0 / 433.6 MB, free: 7.34 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.000814/0.2711, allocations: 0.7601 MB / 434.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2711, allocations: 9.438 kB / 434.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.618e-05/0.2712, allocations: 12.97 kB / 434.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.2712, allocations: 79.84 kB / 434.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.2714, allocations: 69.36 kB / 434.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.2719, allocations: 425.1 kB / 435 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2719, allocations: 28.59 kB / 435 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.272, allocations: 44.42 kB / 435.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.2726, allocations: 492.1 kB / 435.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2726, allocations: 5.906 kB / 435.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.2726, allocations: 16.28 kB / 435.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.2726, allocations: 10.44 kB / 435.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.2731, allocations: 245.3 kB / 435.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2748, allocations: 2.827 MB / 438.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.2752, allocations: 156 kB / 438.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.2753, allocations: 61.28 kB / 438.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.2754, allocations: 83 kB / 438.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.2754, allocations: 43.38 kB / 439 MB, free: 3.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.2754, allocations: 0 / 439 MB, free: 3.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001094/0.2765, allocations: 0.6283 MB / 439.6 MB, free: 3.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2766, allocations: 56.22 kB / 439.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.2768, allocations: 349.9 kB / 440 MB, free: 3.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2769, allocations: 29.02 kB / 440 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.277, allocations: 313.4 kB / 440.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.277, allocations: 64.12 kB / 440.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.2771, allocations: 67.16 kB / 440.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.2772, allocations: 346.4 kB / 440.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2773, allocations: 66.5 kB / 440.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2775, allocations: 225.1 kB / 441.1 MB, free: 2.406 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.0007995/0.2783, allocations: 0.5148 MB / 441.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2783, allocations: 3.938 kB / 441.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004997/0.2788, allocations: 358.3 kB / 441.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2788, allocations: 9.766 kB / 442 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2788, allocations: 6.125 kB / 442 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.2789, allocations: 37.3 kB / 442 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.2791, allocations: 77.67 kB / 442.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/0.28, allocations: 1.634 MB / 443.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.2801, allocations: 16 kB / 443.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.2802, allocations: 14.77 kB / 443.7 MB, free: 260 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.0001429/0.2803, allocations: 174.7 kB / 443.9 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2804, allocations: 38.2 kB / 443.9 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.2804, allocations: 42.67 kB / 444 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2804, allocations: 2.281 kB / 444 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2804, allocations: 5.531 kB / 444 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2804, allocations: 1.078 kB / 444 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.2814, allocations: 0.7033 MB / 444.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2814, allocations: 2.453 kB / 444.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2816, allocations: 34.97 kB / 444.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.968e-05/0.2817, allocations: 22.89 kB / 444.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2817, allocations: 14.92 kB / 444.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.2827, allocations: 1.429 MB / 446.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2827, allocations: 5.516 kB / 446.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.2832, allocations: 363.6 kB / 446.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.2833, allocations: 109.3 kB / 446.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.2833, allocations: 2.938 kB / 446.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.2835, allocations: 7.297 kB / 446.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.2835, allocations: 14.19 kB / 446.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2835, allocations: 10.48 kB / 446.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.2837, allocations: 233.8 kB / 446.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2837, allocations: 0 / 446.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000413/0.2842, allocations: 67.22 kB / 447 MB, free: 13.58 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.0008293/0.285, allocations: 0.9057 MB / 447.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.2856, allocations: 313.1 kB / 448.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2856, allocations: 0 / 448.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.2858, allocations: 179.6 kB / 448.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2861, allocations: 42.02 kB / 448.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.2902, allocations: 3.352 MB / 451.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.2906, allocations: 0.8127 MB / 452.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2907, allocations: 38.77 kB / 452.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.2909, allocations: 159.7 kB / 452.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2909, allocations: 1.25 kB / 452.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.3216, allocations: 6.385 MB / 459.2 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.854/10.18, allocations: 18.17 kB / 459.2 MB, free: 8.16 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.475329699984286]