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.001082/0.001082, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002588, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001035/0.001035, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002353, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.018/1.018, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08213/1.1, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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.582e-06/1.582e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.647e-05, allocations: 2.312 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002825/0.002841, allocations: 3.029 MB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004231, allocations: 1.052 MB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.004391, allocations: 19.81 kB / 249.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.004537, allocations: 91.05 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.00468, allocations: 122.8 kB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.005045, allocations: 223.5 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.005469, allocations: 0.5486 MB / 250.1 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.005679, allocations: 153.2 kB / 250.2 MB, free: 8.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.006016, allocations: 299.2 kB / 250.5 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.006169, allocations: 123.5 kB / 250.6 MB, free: 8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.006212, allocations: 36 kB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.006325, allocations: 55.98 kB / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.006368, allocations: 71.69 kB / 250.8 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.006454, allocations: 119.7 kB / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.006785, allocations: 358.4 kB / 251.3 MB, free: 7.371 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.0068, allocations: 4 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.006801, allocations: 0 / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.006818, allocations: 0 / 251.3 MB, free: 7.367 MB / 250.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.0006886/0.007507, allocations: 0.7488 MB / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.007534, allocations: 8.031 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.007709, allocations: 161.7 kB / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.008046, allocations: 312.9 kB / 252.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.008067, allocations: 33 kB / 252.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.008105, allocations: 44 kB / 252.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.008462, allocations: 428 kB / 253 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.008479, allocations: 4 kB / 253 MB, free: 5.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.008498, allocations: 20 kB / 253 MB, free: 5.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.008508, allocations: 12 kB / 253 MB, free: 5.469 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.008668, allocations: 138.8 kB / 253.1 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.009887, allocations: 2.44 MB / 255.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.01009, allocations: 101.7 kB / 255.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.01013, allocations: 32.84 kB / 255.7 MB, free: 2.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.01019, allocations: 12 kB / 255.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.0102, allocations: 30.56 kB / 255.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.01021, allocations: 0 / 255.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005682/0.01077, allocations: 377.6 kB / 256.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.0108, allocations: 51.41 kB / 256.2 MB, free: 2.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.01098, allocations: 339.1 kB / 256.5 MB, free: 1.781 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.011, allocations: 33.69 kB / 256.5 MB, free: 1.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01111, allocations: 268.3 kB / 256.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.01114, allocations: 67.42 kB / 256.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.0112, allocations: 69.67 kB / 256.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.01129, allocations: 354.7 kB / 257.3 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.01132, allocations: 23.98 kB / 257.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01142, allocations: 183.4 kB / 257.5 MB, free: 0.707 MB / 250.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.0002607/0.01169, allocations: 307.3 kB / 257.8 MB, free: 348 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01169, allocations: 0 / 257.8 MB, free: 348 kB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000218/0.01191, allocations: 234.3 kB / 258 MB, free: 104 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01192, allocations: 11.94 kB / 258 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01192, allocations: 4 kB / 258 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.707e-05/0.01202, allocations: 32.84 kB / 258.1 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.0122, allocations: 87.22 kB / 258.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007245/0.01292, allocations: 1.376 MB / 259.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.091e-05/0.013, allocations: 15.98 kB / 259.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.01301, allocations: 16 kB / 259.6 MB, free: 14.48 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 0.0001028/0.01312, allocations: 137.6 kB / 259.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.01315, allocations: 27.97 kB / 259.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.01318, allocations: 31.53 kB / 259.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01318, allocations: 4 kB / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.01319, allocations: 0 / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01319, allocations: 8.016 kB / 259.8 MB, free: 14.26 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.0003886/0.01358, allocations: 396.3 kB / 260.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01358, allocations: 0 / 260.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.01369, allocations: 43.06 kB / 260.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.01372, allocations: 35.69 kB / 260.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.725e-05/0.01377, allocations: 24.78 kB / 260.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01378, allocations: 4 kB / 260.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000489/0.01427, allocations: 1.182 MB / 261.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01427, allocations: 3.938 kB / 261.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01445, allocations: 255.8 kB / 261.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.01446, allocations: 4 kB / 261.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01451, allocations: 4 kB / 261.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.01455, allocations: 19.91 kB / 261.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01455, allocations: 7.938 kB / 261.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.01464, allocations: 128.7 kB / 261.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01464, allocations: 4 kB / 261.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.01487, allocations: 68.03 kB / 261.9 MB, free: 11.96 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 7.84e-05/0.01495, allocations: 76.42 kB / 262 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.01521, allocations: 260.1 kB / 262.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.01522, allocations: 12 kB / 262.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.01531, allocations: 167.3 kB / 262.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.0155, allocations: 57.48 kB / 262.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.01944, allocations: 0.7919 MB / 263.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.974e-05/0.01951, allocations: 112.6 kB / 263.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.703e-05/0.01959, allocations: 39.27 kB / 263.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.0197, allocations: 99.36 kB / 263.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0197, allocations: 0 / 263.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of Templates: time 0.005619/0.02531, allocations: 3.109 MB / 266.6 MB, free: 7.223 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 -emit_protected -ignoreHideResult -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.524092772975564]