Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8933/0.8933, allocations: 173.4 MB / 202.2 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 269.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.674e-05, allocations: 6.797 kB / 269.2 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003439/0.003455, allocations: 2.947 MB / 272.1 MB, free: 6.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004869, allocations: 0.947 MB / 273.1 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.005055, allocations: 19.81 kB / 273.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.005272, allocations: 99.03 kB / 273.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.00545, allocations: 108.9 kB / 273.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.005888, allocations: 224.8 kB / 273.5 MB, free: 5.484 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.006382, allocations: 0.5601 MB / 274.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.006634, allocations: 139.8 kB / 274.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.006947, allocations: 272.1 kB / 274.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.00711, allocations: 123.5 kB / 274.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.007158, allocations: 37.66 kB / 274.6 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.007256, allocations: 51.92 kB / 274.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.00733, allocations: 95.61 kB / 274.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.00745, allocations: 139.6 kB / 274.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.007842, allocations: 359.2 kB / 275.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.007843, allocations: 0 / 275.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007844, allocations: 1.219 kB / 275.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.007851, allocations: 0 / 275.3 MB, free: 3.723 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.0007741/0.008625, allocations: 0.7768 MB / 276 MB, free: 2.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.008658, allocations: 12.03 kB / 276 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.008764, allocations: 96.31 kB / 276.1 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.009222, allocations: 390.2 kB / 276.5 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.009247, allocations: 29 kB / 276.6 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.009303, allocations: 40 kB / 276.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.009795, allocations: 481.1 kB / 277.1 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.009815, allocations: 7.938 kB / 277.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.009843, allocations: 20 kB / 277.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.009855, allocations: 12 kB / 277.1 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.01008, allocations: 146.8 kB / 277.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.01191, allocations: 3.607 MB / 280.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.01216, allocations: 111.1 kB / 281 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.01222, allocations: 43.64 kB / 281 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.01227, allocations: 12.28 kB / 281 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.01229, allocations: 37.38 kB / 281 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.01229, allocations: 4 kB / 281.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007113/0.013, allocations: 410.4 kB / 281.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.01303, allocations: 51.41 kB / 281.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.0133, allocations: 390.3 kB / 281.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01332, allocations: 29.7 kB / 281.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.0135, allocations: 354.4 kB / 282.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.01355, allocations: 75.41 kB / 282.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.01363, allocations: 79.23 kB / 282.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01378, allocations: 0.5195 MB / 282.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.01383, allocations: 23.98 kB / 283 MB, free: 11.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.01399, allocations: 260.2 kB / 283.2 MB, free: 11.23 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.0003662/0.01436, allocations: 359.3 kB / 283.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01436, allocations: 0 / 283.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003701/0.01473, allocations: 292.2 kB / 283.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01474, allocations: 10.19 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.01475, allocations: 8 kB / 283.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.01486, allocations: 39.55 kB / 283.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.01505, allocations: 75.89 kB / 284 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009979/0.01605, allocations: 2.013 MB / 286 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01617, allocations: 8 kB / 286 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01618, allocations: 16 kB / 286 MB, free: 8.211 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.0001274/0.01631, allocations: 184.4 kB / 286.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.01637, allocations: 47.75 kB / 286.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.01641, allocations: 39.53 kB / 286.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.01641, allocations: 0 / 286.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01642, allocations: 0 / 286.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01642, allocations: 4.031 kB / 286.3 MB, free: 7.934 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.0005616/0.01698, allocations: 0.505 MB / 286.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01698, allocations: 0 / 286.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.0171, allocations: 31.98 kB / 286.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-05/0.01716, allocations: 23.67 kB / 286.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01718, allocations: 7.938 kB / 286.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/0.01795, allocations: 1.745 MB / 288.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01795, allocations: 8.062 kB / 288.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.01822, allocations: 335.3 kB / 288.9 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.01825, allocations: 27.77 kB / 289 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.01827, allocations: 11.98 kB / 289 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.01835, allocations: 4 kB / 289 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.01839, allocations: 15.92 kB / 289 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.01839, allocations: 0 / 289 MB, free: 5.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.01853, allocations: 250.9 kB / 289.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01853, allocations: 0 / 289.2 MB, free: 4.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.01897, allocations: 68 kB / 289.3 MB, free: 4.723 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.904e-05/0.01905, allocations: 103.2 kB / 289.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.01939, allocations: 325.8 kB / 289.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01939, allocations: 0 / 289.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.01952, allocations: 213.7 kB / 289.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01982, allocations: 45.42 kB / 290 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.02098, allocations: 0.7794 MB / 290.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.02106, allocations: 104.6 kB / 290.9 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.063e-05/0.02115, allocations: 39.27 kB / 290.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.02127, allocations: 122.2 kB / 291 MB, free: 2.906 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02127, allocations: 0 / 291 MB, free: 2.906 MB / 266.7 MB Notification: Performance of Templates: time 0.006251/0.02752, allocations: 3.022 MB / 294 MB, free: 15.96 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7521604280918837]