Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00159/0.00159, allocations: 79.73 kB / 21.97 MB, free: 2.594 MB / 18.57 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.001154/0.001154, allocations: 170.1 kB / 25.33 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8754/0.8754, allocations: 158.6 MB / 187.2 MB, free: 2.48 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.036e-05, allocations: 5.406 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003919/0.00394, allocations: 3.007 MB / 254 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.005579, allocations: 0.999 MB / 255 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.005801, allocations: 11.88 kB / 255 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.006071, allocations: 95.05 kB / 255.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.006306, allocations: 106.8 kB / 255.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.006816, allocations: 231.5 kB / 255.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005154/0.007331, allocations: 0.5563 MB / 256 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.007584, allocations: 151.2 kB / 256.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.007873, allocations: 259.5 kB / 256.4 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.00804, allocations: 127.5 kB / 256.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.008088, allocations: 36 kB / 256.6 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.008191, allocations: 51.97 kB / 256.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.008255, allocations: 87.61 kB / 256.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.008399, allocations: 147.6 kB / 256.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.008815, allocations: 370.3 kB / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.008818, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.00882, allocations: 0 / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.008828, allocations: 0 / 257.2 MB, free: 13.36 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.0008258/0.009654, allocations: 0.7685 MB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.009699, allocations: 19.97 kB / 258 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.00981, allocations: 92.36 kB / 258.1 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.0102, allocations: 382.2 kB / 258.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.01023, allocations: 29 kB / 258.5 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.01028, allocations: 40 kB / 258.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.01076, allocations: 0.4894 MB / 259 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.01078, allocations: 7.891 kB / 259 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.01081, allocations: 20 kB / 259.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01082, allocations: 8 kB / 259.1 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.01106, allocations: 171.5 kB / 259.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.013, allocations: 3.684 MB / 262.9 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.01326, allocations: 123.1 kB / 263 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.01332, allocations: 43.67 kB / 263.1 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.0134, allocations: 7.984 kB / 263.1 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.01342, allocations: 33.39 kB / 263.1 MB, free: 7.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.01342, allocations: 4 kB / 263.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007526/0.01418, allocations: 481.4 kB / 263.6 MB, free: 6.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.01421, allocations: 67.34 kB / 263.7 MB, free: 6.523 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.01445, allocations: 394.5 kB / 264 MB, free: 6.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01446, allocations: 29.7 kB / 264.1 MB, free: 6.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.0146, allocations: 346.5 kB / 264.4 MB, free: 5.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.01465, allocations: 71.44 kB / 264.5 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.01472, allocations: 67.31 kB / 264.5 MB, free: 5.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01486, allocations: 0.5196 MB / 265.1 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.01491, allocations: 35.97 kB / 265.1 MB, free: 5.031 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01506, allocations: 244.5 kB / 265.3 MB, free: 4.695 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.0003737/0.01543, allocations: 376.3 kB / 265.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01544, allocations: 7.938 kB / 265.7 MB, free: 4.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003335/0.01577, allocations: 308.5 kB / 266 MB, free: 3.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01579, allocations: 8.688 kB / 266 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.0158, allocations: 7.938 kB / 266 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.01595, allocations: 39.67 kB / 266.1 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.0161, allocations: 79.83 kB / 266.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.01731, allocations: 2.044 MB / 268.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.01739, allocations: 15.94 kB / 268.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.01741, allocations: 16 kB / 268.2 MB, free: 1.574 MB / 250.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.0001165/0.01752, allocations: 188.4 kB / 268.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.01756, allocations: 43.77 kB / 268.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.0176, allocations: 35.53 kB / 268.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.0176, allocations: 0 / 268.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.0176, allocations: 0 / 268.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01761, allocations: 7.922 kB / 268.5 MB, free: 1.293 MB / 250.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.0005215/0.01813, allocations: 0.567 MB / 269.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01813, allocations: 0 / 269.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.01823, allocations: 35.98 kB / 269.1 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/0.0183, allocations: 27.7 kB / 269.1 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01831, allocations: 4 kB / 269.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007398/0.01905, allocations: 1.76 MB / 270.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01905, allocations: 0 / 270.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01933, allocations: 355.2 kB / 271.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.01935, allocations: 31.77 kB / 271.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.01937, allocations: 7.938 kB / 271.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.488e-05/0.01943, allocations: 8.031 kB / 271.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.01947, allocations: 15.97 kB / 271.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.01947, allocations: 4 kB / 271.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01963, allocations: 247.1 kB / 271.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01963, allocations: 4 kB / 271.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000269/0.0199, allocations: 64 kB / 271.6 MB, free: 13.98 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 9.028e-05/0.01999, allocations: 103.2 kB / 271.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.02035, allocations: 336.3 kB / 272 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02035, allocations: 0 / 272 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.02047, allocations: 220.4 kB / 272.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.02072, allocations: 54.59 kB / 272.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.02192, allocations: 0.7764 MB / 273.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.02199, allocations: 108.5 kB / 273.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.827e-05/0.02207, allocations: 39.27 kB / 273.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.02213, allocations: 32.48 kB / 273.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02213, allocations: 0 / 273.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Templates: time 0.005539/0.02767, allocations: 2.841 MB / 276.1 MB, free: 9.406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.773300006054342]