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.00146/0.00146, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001597/0.001597, allocations: 212.6 kB / 24.51 MB, free: 3.945 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 39.94 kB / 378.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.224, allocations: 53.37 MB / 431.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003975/0.228, allocations: 2.832 MB / 434.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2296, allocations: 0.9825 MB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2298, allocations: 15.88 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.23, allocations: 95.05 kB / 435.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.2302, allocations: 106.9 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.2307, allocations: 231.6 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.2312, allocations: 0.541 MB / 436.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.2315, allocations: 149.3 kB / 436.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.2317, allocations: 191.2 kB / 437 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.2319, allocations: 182.9 kB / 437.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.232, allocations: 36 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2321, allocations: 56 kB / 437.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.2322, allocations: 83.64 kB / 437.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.2323, allocations: 183 kB / 437.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.2329, allocations: 0.5911 MB / 438.1 MB, free: 400 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2329, allocations: 0 / 438.1 MB, free: 400 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2329, allocations: 4 kB / 438.1 MB, free: 396 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2329, allocations: 3.938 kB / 438.1 MB, free: 392 kB / 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.0009175/0.2338, allocations: 0.6842 MB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2339, allocations: 8.031 kB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.486e-05/0.2339, allocations: 13.19 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/0.234, allocations: 74.72 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2341, allocations: 75.86 kB / 438.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.2347, allocations: 355.5 kB / 439.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2347, allocations: 29 kB / 439.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.2348, allocations: 47.89 kB / 439.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.2355, allocations: 487.3 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2355, allocations: 4 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.2356, allocations: 20 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2356, allocations: 15.94 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.2361, allocations: 250.2 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.2382, allocations: 2.676 MB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.2386, allocations: 146.7 kB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.2387, allocations: 69.11 kB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/0.2388, allocations: 15.88 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2388, allocations: 34.56 kB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 3.317e-06/0.2388, allocations: 3.984 kB / 443.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001175/0.24, allocations: 0.5536 MB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2401, allocations: 51.41 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.2404, allocations: 349.6 kB / 444 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2404, allocations: 33.7 kB / 444 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.2406, allocations: 307.7 kB / 444.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.2407, allocations: 67.45 kB / 444.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.2408, allocations: 69.61 kB / 444.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2409, allocations: 354.7 kB / 444.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.241, allocations: 63.97 kB / 444.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.2413, allocations: 227.4 kB / 445.1 MB, free: 8.914 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.0008593/0.2421, allocations: 448.8 kB / 445.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2422, allocations: 7.938 kB / 445.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005542/0.2427, allocations: 360.9 kB / 445.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2427, allocations: 8 kB / 445.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2427, allocations: 4 kB / 445.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.2429, allocations: 32.84 kB / 446 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.2431, allocations: 79.83 kB / 446 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2443, allocations: 1.516 MB / 447.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2445, allocations: 24.17 kB / 447.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2445, allocations: 16 kB / 447.6 MB, free: 6.25 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.0001879/0.2447, allocations: 173.6 kB / 447.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.2447, allocations: 39.77 kB / 447.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.2448, allocations: 39.67 kB / 447.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.2448, allocations: 3.984 kB / 447.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.2448, allocations: 7.984 kB / 447.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2448, allocations: 0 / 447.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008774/0.2457, allocations: 0.6125 MB / 448.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2457, allocations: 0 / 448.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2459, allocations: 35.92 kB / 448.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-05/0.246, allocations: 24.84 kB / 448.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.246, allocations: 7.938 kB / 448.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009483/0.2469, allocations: 1.319 MB / 449.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2469, allocations: 4.031 kB / 449.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.2474, allocations: 367.5 kB / 450.2 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.2474, allocations: 35.77 kB / 450.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2475, allocations: 0 / 450.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2476, allocations: 12.03 kB / 450.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.2476, allocations: 12.16 kB / 450.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2476, allocations: 4 kB / 450.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002317/0.2479, allocations: 239.2 kB / 450.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2479, allocations: 0 / 450.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003975/0.2483, allocations: 68 kB / 450.6 MB, free: 3.055 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.0007723/0.249, allocations: 0.9012 MB / 451.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000517/0.2496, allocations: 299.7 kB / 451.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2496, allocations: 4 kB / 451.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.2498, allocations: 189.3 kB / 452 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2501, allocations: 44.39 kB / 452 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.254, allocations: 3.365 MB / 455.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.2543, allocations: 215.2 kB / 455.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2544, allocations: 39.27 kB / 455.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2546, allocations: 151.4 kB / 455.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2546, allocations: 4 kB / 455.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.2859, allocations: 6.68 MB / 462.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.39, allocations: 8.062 kB / 462.5 MB, free: 7.086 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.678300659055822]