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.001254/0.001254, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001357/0.001357, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.349/1.349, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.001698/0.001698, allocations: 55.91 kB / 378.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.236, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003902/0.2399, allocations: 2.835 MB / 434.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2415, allocations: 0.9942 MB / 435.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2416, allocations: 15.88 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.2419, allocations: 91.05 kB / 435.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.242, allocations: 103 kB / 435.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.2425, allocations: 231.6 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.2431, allocations: 0.5371 MB / 436.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.2434, allocations: 153.2 kB / 436.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.2436, allocations: 187.3 kB / 437 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2438, allocations: 179 kB / 437.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.2439, allocations: 40 kB / 437.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.244, allocations: 63.92 kB / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.2441, allocations: 87.64 kB / 437.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.2443, allocations: 179 kB / 437.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.2449, allocations: 0.5872 MB / 438.1 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2449, allocations: 0 / 438.1 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2449, allocations: 3.938 kB / 438.1 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2449, allocations: 4 kB / 438.1 MB, free: 196 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.0009837/0.2459, allocations: 0.6842 MB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.246, allocations: 8.031 kB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.59e-05/0.246, allocations: 13.19 kB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.962e-05/0.2461, allocations: 78.72 kB / 438.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2462, allocations: 71.92 kB / 439 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.2468, allocations: 355.4 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.2469, allocations: 33 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.2469, allocations: 43.95 kB / 439.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007124/0.2476, allocations: 487.3 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.2476, allocations: 7.938 kB / 439.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.2477, allocations: 16 kB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2477, allocations: 15.94 kB / 439.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.2482, allocations: 246.2 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.2503, allocations: 2.672 MB / 442.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.2507, allocations: 150.7 kB / 443 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.2509, allocations: 69.11 kB / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.675e-05/0.251, allocations: 15.88 kB / 443.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.251, allocations: 34.56 kB / 443.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.251, allocations: 3.938 kB / 443.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001156/0.2521, allocations: 0.5567 MB / 443.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2522, allocations: 51.41 kB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.2525, allocations: 357.5 kB / 444.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2525, allocations: 25.7 kB / 444.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.2527, allocations: 307.7 kB / 444.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.2528, allocations: 71.47 kB / 444.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.2529, allocations: 69.61 kB / 444.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.253, allocations: 350.7 kB / 444.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2532, allocations: 67.97 kB / 444.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.2534, allocations: 214.5 kB / 445.2 MB, free: 8.734 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.0008965/0.2543, allocations: 453.3 kB / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2543, allocations: 0 / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005635/0.2549, allocations: 364.9 kB / 446 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2549, allocations: 12.09 kB / 446 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2549, allocations: 7.984 kB / 446 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.255, allocations: 36.84 kB / 446 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.2553, allocations: 71.89 kB / 446.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.2566, allocations: 1.527 MB / 447.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2568, allocations: 19.98 kB / 447.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2568, allocations: 12 kB / 447.6 MB, free: 6.062 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.0002072/0.257, allocations: 178.4 kB / 447.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.257, allocations: 35.77 kB / 447.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.2571, allocations: 39.53 kB / 447.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2571, allocations: 3.984 kB / 447.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2571, allocations: 4 kB / 447.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2571, allocations: 0 / 447.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009174/0.258, allocations: 0.6085 MB / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.258, allocations: 8.031 kB / 448.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.2582, allocations: 35.98 kB / 448.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.939e-05/0.2583, allocations: 24.84 kB / 448.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2583, allocations: 4.078 kB / 448.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009925/0.2593, allocations: 1.323 MB / 449.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2593, allocations: 4.031 kB / 449.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.2598, allocations: 365.2 kB / 450.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2598, allocations: 31.83 kB / 450.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.2599, allocations: 8 kB / 450.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.26, allocations: 8.031 kB / 450.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.26, allocations: 15.92 kB / 450.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.26, allocations: 7.938 kB / 450.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.2602, allocations: 235.2 kB / 450.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2602, allocations: 3.938 kB / 450.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004094/0.2606, allocations: 68 kB / 450.6 MB, free: 2.863 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.0008182/0.2615, allocations: 0.8994 MB / 451.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.262, allocations: 303.7 kB / 451.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.262, allocations: 0 / 451.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2622, allocations: 178.7 kB / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2625, allocations: 37.44 kB / 452 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.2665, allocations: 3.364 MB / 455.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.2667, allocations: 211.1 kB / 455.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.2668, allocations: 43.27 kB / 455.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.267, allocations: 155.4 kB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.267, allocations: 0 / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.298, allocations: 6.686 MB / 462.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.44, allocations: 11.78 kB / 462.5 MB, free: 6.859 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.690886878059246]