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.000953/0.000953, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009641/0.0009641, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.008 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.263e-06/1.263e-06, allocations: 0 / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.608e-05, allocations: 5.406 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003181/0.003207, allocations: 3.017 MB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.004804, allocations: 1.037 MB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.004996, allocations: 15.88 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.005199, allocations: 94.98 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.005391, allocations: 110.8 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.005845, allocations: 231.5 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.0063, allocations: 0.5563 MB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.006581, allocations: 157.1 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.006914, allocations: 275.4 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.007054, allocations: 119.5 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.007092, allocations: 36 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.007206, allocations: 59.98 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.007254, allocations: 83.62 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.00735, allocations: 151.5 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.007681, allocations: 366.4 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.007685, allocations: 3.984 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007686, allocations: 0 / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007691, allocations: 4 kB / 279.7 MB, free: 10.71 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.0006609/0.008352, allocations: 0.6515 MB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.008387, allocations: 19.97 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.008522, allocations: 80.62 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.00886, allocations: 320.8 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.008882, allocations: 33 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.00892, allocations: 36 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.009268, allocations: 432 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.009282, allocations: 0 / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.009301, allocations: 20 kB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.00931, allocations: 12 kB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.009478, allocations: 154.8 kB / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.0107, allocations: 2.417 MB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.01114, allocations: 98.5 kB / 283.9 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.01118, allocations: 28.86 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.01123, allocations: 15.98 kB / 284 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.01125, allocations: 30.56 kB / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.01125, allocations: 0 / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005832/0.01183, allocations: 372.3 kB / 284.4 MB, free: 5.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.01186, allocations: 55.41 kB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.01204, allocations: 335.2 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.01206, allocations: 33.64 kB / 284.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01216, allocations: 268.3 kB / 285 MB, free: 5.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.0122, allocations: 71.41 kB / 285.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.01226, allocations: 69.62 kB / 285.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.01234, allocations: 354.7 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.01237, allocations: 23.98 kB / 285.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.01247, allocations: 187.3 kB / 285.7 MB, free: 4.238 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.0002549/0.01272, allocations: 303.1 kB / 286 MB, free: 3.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01272, allocations: 0 / 286 MB, free: 3.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002295/0.01295, allocations: 241.4 kB / 286.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.01297, allocations: 11.98 kB / 286.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.01298, allocations: 8 kB / 286.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001049/0.01308, allocations: 24.86 kB / 286.3 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01323, allocations: 84.95 kB / 286.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006799/0.01391, allocations: 1.376 MB / 287.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.014, allocations: 16 kB / 287.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01401, allocations: 12 kB / 287.8 MB, free: 2.012 MB / 266.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 9.938e-05/0.01411, allocations: 141.6 kB / 287.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.01414, allocations: 23.97 kB / 288 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01418, allocations: 39.47 kB / 288 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01418, allocations: 4 kB / 288 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01419, allocations: 4.031 kB / 288 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01419, allocations: 0 / 288 MB, free: 1.797 MB / 266.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.0004003/0.01459, allocations: 388.3 kB / 288.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01459, allocations: 0 / 288.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.0147, allocations: 47.09 kB / 288.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.332e-05/0.01475, allocations: 28.72 kB / 288.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01476, allocations: 0 / 288.5 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004906/0.01525, allocations: 1.19 MB / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01525, allocations: 0 / 289.6 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.137/0.1523, allocations: 238.8 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1523, allocations: 34.61 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.1523, allocations: 4.969 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.1524, allocations: 2.25 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.1524, allocations: 18.31 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1524, allocations: 4.156 kB / 289.9 MB, free: 25.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1525, allocations: 129.2 kB / 290.1 MB, free: 25.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1525, allocations: 0.5312 kB / 290.1 MB, free: 25.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.1528, allocations: 69 kB / 290.1 MB, free: 25.36 MB / 266.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.793e-05/0.1529, allocations: 82.89 kB / 290.2 MB, free: 25.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1532, allocations: 257 kB / 290.5 MB, free: 25.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.1532, allocations: 7.766 kB / 290.5 MB, free: 25.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.1533, allocations: 167.5 kB / 290.6 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.1535, allocations: 40.64 kB / 290.7 MB, free: 25.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1545, allocations: 0.7338 MB / 291.4 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.1546, allocations: 104.1 kB / 291.5 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.735e-05/0.1547, allocations: 46.5 kB / 291.6 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1548, allocations: 105.6 kB / 291.7 MB, free: 24.55 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1548, allocations: 0 / 291.7 MB, free: 24.55 MB / 266.7 MB Notification: Performance of Templates: time 0.006673/0.1615, allocations: 3.019 MB / 294.7 MB, free: 24.27 MB / 266.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 -s gbode -gbm=radauIIA3 -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.61974086612463]