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.0008465/0.0008465, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009075/0.0009075, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9085/0.9085, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.662e-05, allocations: 3.125 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003193/0.003219, allocations: 2.837 MB / 327.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004681, allocations: 0.994 MB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.004874, allocations: 15.88 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.00509, allocations: 103 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.005344, allocations: 102.9 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.005771, allocations: 231.5 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.006147, allocations: 0.5524 MB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.006366, allocations: 139.2 kB / 329.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.006661, allocations: 279.3 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.006785, allocations: 123.5 kB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.006822, allocations: 36 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.006911, allocations: 51.94 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.006955, allocations: 95.61 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.007038, allocations: 143.6 kB / 330.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.007468, allocations: 0.5721 MB / 330.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.007471, allocations: 0 / 330.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007473, allocations: 4 kB / 330.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.00748, allocations: 3.984 kB / 330.7 MB, free: 9.633 MB / 298.7 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.0006705/0.008151, allocations: 0.6841 MB / 331.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.008193, allocations: 15.98 kB / 331.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.008254, allocations: 78.72 kB / 331.5 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.008394, allocations: 72.11 kB / 331.6 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.008818, allocations: 343.5 kB / 331.9 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.00884, allocations: 33 kB / 332 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.008882, allocations: 43.95 kB / 332 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.009607, allocations: 491.4 kB / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.009624, allocations: 4 kB / 332.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.009646, allocations: 16 kB / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.009657, allocations: 16 kB / 332.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.009962, allocations: 242.2 kB / 332.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.01138, allocations: 2.676 MB / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.01172, allocations: 158.6 kB / 335.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.0118, allocations: 68.78 kB / 335.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-05/0.01189, allocations: 7.984 kB / 335.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.01191, allocations: 38.84 kB / 335.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.01191, allocations: 0 / 335.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009174/0.01283, allocations: 0.5616 MB / 336.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.01286, allocations: 51.41 kB / 336.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.01309, allocations: 361.5 kB / 336.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.0131, allocations: 29.7 kB / 336.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01324, allocations: 311.7 kB / 337 MB, free: 3.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.01327, allocations: 59.48 kB / 337.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.01333, allocations: 69.61 kB / 337.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01344, allocations: 346.8 kB / 337.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.01353, allocations: 71.73 kB / 337.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.01367, allocations: 219.6 kB / 337.7 MB, free: 2.172 MB / 298.7 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.0005699/0.01424, allocations: 442.5 kB / 338.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01425, allocations: 0 / 338.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000357/0.0146, allocations: 366.3 kB / 338.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01462, allocations: 8 kB / 338.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.01463, allocations: 4 kB / 338.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.01475, allocations: 36.78 kB / 338.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01489, allocations: 75.91 kB / 338.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009704/0.01586, allocations: 1.528 MB / 340.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.876e-05/0.01596, allocations: 20 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01597, allocations: 16.09 kB / 340.2 MB, free: 15.5 MB / 314.7 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.0001645/0.01614, allocations: 177.7 kB / 340.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.01617, allocations: 35.77 kB / 340.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.01621, allocations: 43.45 kB / 340.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01622, allocations: 4 kB / 340.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01622, allocations: 0 / 340.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01622, allocations: 0 / 340.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.01691, allocations: 0.6046 MB / 341.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01691, allocations: 0 / 341.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01701, allocations: 39.97 kB / 341.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/0.01707, allocations: 24.8 kB / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01708, allocations: 3.984 kB / 341.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/0.01782, allocations: 1.331 MB / 342.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01782, allocations: 0 / 342.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.01812, allocations: 357.3 kB / 342.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01814, allocations: 43.73 kB / 342.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01816, allocations: 4 kB / 342.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.01821, allocations: 4 kB / 342.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.01825, allocations: 19.91 kB / 342.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.01825, allocations: 4 kB / 342.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.01841, allocations: 235.2 kB / 343.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01841, allocations: 4 kB / 343.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.0187, allocations: 64 kB / 343.2 MB, free: 12.32 MB / 314.7 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.0004871/0.01918, allocations: 0.8972 MB / 344.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.01958, allocations: 306.4 kB / 344.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01958, allocations: 0 / 344.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.0197, allocations: 181.4 kB / 344.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.01994, allocations: 49.36 kB / 344.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.02277, allocations: 3.281 MB / 347.9 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.0229, allocations: 207.2 kB / 348.1 MB, free: 7.109 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.02299, allocations: 39.27 kB / 348.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.02312, allocations: 160.4 kB / 348.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02312, allocations: 3.938 kB / 348.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.04349, allocations: 7.054 MB / 355.4 MB, free: 0 / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.203, allocations: 128 / 355.4 MB, free: 0 / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 8.868448249064386]