Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002618, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002569, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.982/0.982, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09358/1.076, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.007e-05, allocations: 5.406 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004701/0.004721, allocations: 3.033 MB / 247.5 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.007098, allocations: 1.052 MB / 248.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.007408, allocations: 15.88 kB / 248.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.007642, allocations: 95.05 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.007893, allocations: 102.8 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.008461, allocations: 239.5 kB / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.00913, allocations: 0.5486 MB / 249.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.009422, allocations: 145.2 kB / 249.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.009938, allocations: 299.2 kB / 250 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.01015, allocations: 123.5 kB / 250.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.01021, allocations: 36 kB / 250.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.01037, allocations: 55.98 kB / 250.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.01044, allocations: 67.69 kB / 250.3 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.01058, allocations: 119.7 kB / 250.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.01108, allocations: 354.5 kB / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.829e-05/0.01109, allocations: 0 / 250.8 MB, free: 8.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01109, allocations: 4 kB / 250.8 MB, free: 8.047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/0.01112, allocations: 0 / 250.8 MB, free: 8.047 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.001062/0.01218, allocations: 0.7566 MB / 251.5 MB, free: 7.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01222, allocations: 11.97 kB / 251.5 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.01249, allocations: 157.7 kB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.01305, allocations: 320.8 kB / 252 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.01308, allocations: 29 kB / 252 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.01314, allocations: 40 kB / 252.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.0137, allocations: 424 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.01372, allocations: 7.938 kB / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.01375, allocations: 23.98 kB / 252.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.01377, allocations: 12 kB / 252.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.01404, allocations: 142.8 kB / 252.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.01594, allocations: 2.437 MB / 255.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.01624, allocations: 98.52 kB / 255.2 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.01629, allocations: 28.84 kB / 255.2 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.84e-05/0.01636, allocations: 12 kB / 255.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.01639, allocations: 30.56 kB / 255.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 2.696e-06/0.01639, allocations: 0 / 255.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008011/0.01719, allocations: 377.1 kB / 255.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.01722, allocations: 51.41 kB / 255.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.01747, allocations: 343.1 kB / 256 MB, free: 2.449 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.01749, allocations: 29.7 kB / 256 MB, free: 2.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.01764, allocations: 272.3 kB / 256.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.01769, allocations: 63.47 kB / 256.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.01789, allocations: 65.62 kB / 256.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.018, allocations: 354.7 kB / 256.8 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.01804, allocations: 23.98 kB / 256.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.01818, allocations: 191.4 kB / 257 MB, free: 1.375 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.0003622/0.01854, allocations: 298.6 kB / 257.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01854, allocations: 0 / 257.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003315/0.01887, allocations: 245.1 kB / 257.5 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.01889, allocations: 8 kB / 257.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.0189, allocations: 8.031 kB / 257.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.01903, allocations: 28.84 kB / 257.6 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.01928, allocations: 87.84 kB / 257.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009172/0.02019, allocations: 1.375 MB / 259 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.02032, allocations: 19.94 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.02034, allocations: 15.98 kB / 259.1 MB, free: 15.14 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.0001255/0.02047, allocations: 145.6 kB / 259.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.02051, allocations: 23.97 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.02056, allocations: 35.53 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02056, allocations: 4 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02056, allocations: 0 / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02057, allocations: 0 / 259.3 MB, free: 14.93 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.0005254/0.02109, allocations: 392.3 kB / 259.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0211, allocations: 32 / 259.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.02126, allocations: 47.91 kB / 259.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.0213, allocations: 35.7 kB / 259.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.325e-05/0.02137, allocations: 24.92 kB / 259.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.02138, allocations: 0 / 259.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009344/0.02232, allocations: 1.187 MB / 260.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.02232, allocations: 0 / 260.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.02259, allocations: 260.8 kB / 261.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.02261, allocations: 4 kB / 261.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.0227, allocations: 4 kB / 261.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.02274, allocations: 11.97 kB / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.02275, allocations: 15.94 kB / 261.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.02287, allocations: 128.7 kB / 261.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02287, allocations: 0 / 261.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004342/0.02331, allocations: 64 kB / 261.4 MB, free: 12.63 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 0.0001157/0.02342, allocations: 84.42 kB / 261.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.02378, allocations: 258.7 kB / 261.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/0.0238, allocations: 8 kB / 261.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.02393, allocations: 156.8 kB / 261.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.02423, allocations: 61.55 kB / 262 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/0.03024, allocations: 0.7919 MB / 262.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.03033, allocations: 116.6 kB / 262.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.03044, allocations: 39.27 kB / 262.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.03055, allocations: 99.36 kB / 263 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03055, allocations: 0 / 263 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.006478/0.03702, allocations: 3.121 MB / 266.1 MB, free: 7.883 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.575181422755122]