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.0008128/0.0008128, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004466/0.004466, allocations: 157.5 kB / 24.7 MB, free: 9.422 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.8842/0.8842, allocations: 177 MB / 204.9 MB, free: 5.754 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.643e-06/1.643e-06, allocations: 0 / 325.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.772e-05, allocations: 3.266 kB / 325.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002847/0.002874, allocations: 2.841 MB / 328.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.004134, allocations: 1.002 MB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.004295, allocations: 15.88 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.004488, allocations: 95.05 kB / 329.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.004609, allocations: 106.9 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.005019, allocations: 235.5 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.005376, allocations: 0.5485 MB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.005596, allocations: 143.2 kB / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.005874, allocations: 279.4 kB / 331 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.006002, allocations: 123.5 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.006038, allocations: 36 kB / 331.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.006123, allocations: 48 kB / 331.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.006171, allocations: 95.59 kB / 331.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.006259, allocations: 135.6 kB / 331.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.006685, allocations: 0.5761 MB / 332 MB, free: 9.137 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.00669, allocations: 3.984 kB / 332 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006692, allocations: 8 kB / 332 MB, free: 9.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.006698, allocations: 3.938 kB / 332 MB, free: 9.121 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.0006563/0.007354, allocations: 0.6764 MB / 332.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.00739, allocations: 15.98 kB / 332.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.007532, allocations: 68.31 kB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.008158, allocations: 351.5 kB / 333.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.008178, allocations: 29 kB / 333.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.008226, allocations: 43.95 kB / 333.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.0087, allocations: 487.4 kB / 333.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.008719, allocations: 11.98 kB / 333.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.008742, allocations: 16 kB / 333.7 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.008752, allocations: 12 kB / 333.7 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.009059, allocations: 242.2 kB / 333.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.01041, allocations: 2.63 MB / 336.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.01072, allocations: 158.6 kB / 336.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.0108, allocations: 64.81 kB / 336.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/0.01089, allocations: 8 kB / 336.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.0109, allocations: 38.55 kB / 336.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.01091, allocations: 0 / 336.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008359/0.01174, allocations: 0.5552 MB / 337.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01178, allocations: 59.34 kB / 337.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.01202, allocations: 357.5 kB / 337.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01203, allocations: 29.7 kB / 337.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01216, allocations: 303.7 kB / 338.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.0122, allocations: 71.45 kB / 338.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.01226, allocations: 69.61 kB / 338.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.01235, allocations: 346.8 kB / 338.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.01243, allocations: 67.75 kB / 338.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01257, allocations: 207.7 kB / 338.9 MB, free: 1.828 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.0005871/0.01316, allocations: 450.2 kB / 339.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01316, allocations: 4 kB / 339.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003524/0.01351, allocations: 358 kB / 339.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01353, allocations: 11.22 kB / 339.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.01354, allocations: 8 kB / 339.7 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.01366, allocations: 36.84 kB / 339.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.0138, allocations: 79.88 kB / 339.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01484, allocations: 1.505 MB / 341.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.01492, allocations: 8 kB / 341.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01494, allocations: 20 kB / 341.3 MB, free: 15.19 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.0001507/0.01509, allocations: 169.7 kB / 341.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.01512, allocations: 35.77 kB / 341.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.01516, allocations: 35.53 kB / 341.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01516, allocations: 4 kB / 341.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01516, allocations: 3.938 kB / 341.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01517, allocations: 3.984 kB / 341.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.01571, allocations: 0.5623 MB / 342.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01571, allocations: 0 / 342.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.0158, allocations: 39.92 kB / 342.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/0.01586, allocations: 24.84 kB / 342.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01587, allocations: 0 / 342.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005604/0.01643, allocations: 1.304 MB / 343.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01643, allocations: 8.031 kB / 343.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.01673, allocations: 373.2 kB / 343.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.01675, allocations: 35.77 kB / 343.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.01677, allocations: 7.938 kB / 343.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.01682, allocations: 4 kB / 343.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01685, allocations: 16.02 kB / 343.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01686, allocations: 7.938 kB / 343.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.017, allocations: 235.2 kB / 344.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.017, allocations: 0 / 344.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.01726, allocations: 72 kB / 344.2 MB, free: 12.09 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 8.72e-05/0.01735, allocations: 95.25 kB / 344.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.01772, allocations: 299.7 kB / 344.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01772, allocations: 4 kB / 344.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.01783, allocations: 182.5 kB / 344.8 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01807, allocations: 33.48 kB / 344.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.01898, allocations: 0.8169 MB / 345.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.01911, allocations: 207.2 kB / 345.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.01916, allocations: 32.48 kB / 345.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01916, allocations: 0 / 345.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Templates: time 0.005698/0.02486, allocations: 6.655 MB / 352.5 MB, free: 3.68 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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: 4.663912068121135]