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.000934/0.000934, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001002/0.001002, allocations: 161.9 kB / 24.99 MB, free: 8.801 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 1.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.578 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: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.374e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002665/0.002679, allocations: 3.013 MB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004013, allocations: 1.01 MB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.004157, allocations: 15.88 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.004345, allocations: 103 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.004463, allocations: 98.97 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.004826, allocations: 231.5 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.005192, allocations: 0.5602 MB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.005398, allocations: 155.1 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.005642, allocations: 271.3 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.005768, allocations: 127.5 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.005804, allocations: 36 kB / 278.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.005885, allocations: 51.98 kB / 278.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.005932, allocations: 91.61 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.006023, allocations: 135.6 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.006334, allocations: 378.4 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006336, allocations: 0 / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006336, allocations: 4 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.006341, allocations: 3.938 kB / 279.2 MB, free: 11.48 MB / 266.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.0006304/0.006971, allocations: 0.7724 MB / 280 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.007009, allocations: 11.98 kB / 280 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.007157, allocations: 104.3 kB / 280.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.007521, allocations: 386.3 kB / 280.5 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.007541, allocations: 29 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.007584, allocations: 43.94 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.008017, allocations: 497.2 kB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.008032, allocations: 0 / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.008055, allocations: 24 kB / 281.1 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.008067, allocations: 12 kB / 281.1 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.008301, allocations: 167.5 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.009992, allocations: 3.684 MB / 284.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.01024, allocations: 115.2 kB / 285 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.0103, allocations: 43.67 kB / 285.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.01036, allocations: 7.984 kB / 285.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.01038, allocations: 41.33 kB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.01038, allocations: 0 / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000702/0.01108, allocations: 490.2 kB / 285.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.01111, allocations: 55.41 kB / 285.7 MB, free: 4.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.01134, allocations: 390.6 kB / 286 MB, free: 4.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.01136, allocations: 33.7 kB / 286.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.0115, allocations: 354.5 kB / 286.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.01153, allocations: 67.42 kB / 286.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.0116, allocations: 71.31 kB / 286.5 MB, free: 3.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01171, allocations: 0.5157 MB / 287.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.01177, allocations: 35.97 kB / 287.1 MB, free: 3.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.01191, allocations: 256.6 kB / 287.4 MB, free: 2.789 MB / 266.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.0003369/0.01224, allocations: 388.4 kB / 287.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01225, allocations: 0 / 287.7 MB, free: 2.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003028/0.01255, allocations: 316.5 kB / 288 MB, free: 1.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.01256, allocations: 11.94 kB / 288.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01257, allocations: 11.94 kB / 288.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.01268, allocations: 28.36 kB / 288.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01282, allocations: 83.89 kB / 288.2 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/0.01367, allocations: 2.029 MB / 290.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.01375, allocations: 15.94 kB / 290.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01376, allocations: 20 kB / 290.2 MB, free: 15.67 MB / 282.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.000108/0.01387, allocations: 188.5 kB / 290.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.01391, allocations: 43.77 kB / 290.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.01395, allocations: 39.56 kB / 290.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01395, allocations: 4 kB / 290.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01395, allocations: 0 / 290.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01395, allocations: 7.922 kB / 290.5 MB, free: 15.39 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.01468, allocations: 0.567 MB / 291.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01468, allocations: 0 / 291.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.01478, allocations: 35.92 kB / 291.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.01484, allocations: 19.67 kB / 291.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01485, allocations: 12.03 kB / 291.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/0.01545, allocations: 1.76 MB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01545, allocations: 4 kB / 292.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.0157, allocations: 347.4 kB / 293.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.01572, allocations: 27.77 kB / 293.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01574, allocations: 11.94 kB / 293.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.01579, allocations: 4 kB / 293.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.01583, allocations: 15.97 kB / 293.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.01583, allocations: 8.031 kB / 293.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.01597, allocations: 251.1 kB / 293.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01597, allocations: 0 / 293.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00026/0.01623, allocations: 68 kB / 293.6 MB, free: 12.07 MB / 282.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 7.038e-05/0.0163, allocations: 99.23 kB / 293.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.01662, allocations: 341.6 kB / 294.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01663, allocations: 0 / 294.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.01674, allocations: 228.2 kB / 294.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01696, allocations: 41.47 kB / 294.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.01801, allocations: 0.7836 MB / 295.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.01807, allocations: 100.6 kB / 295.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.151e-05/0.01814, allocations: 47.2 kB / 295.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.01819, allocations: 32.48 kB / 295.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01819, allocations: 0 / 295.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of Templates: time 0.005056/0.02325, allocations: 2.704 MB / 298 MB, free: 7.668 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.862135148141533]