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.000787/0.000787, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002019, allocations: 449.8 kB / 10.44 MB, free: 252 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.001449/0.001449, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.003142, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9778/0.9778, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08998/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.162e-06/1.162e-06, allocations: 0 / 244.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.796e-05, allocations: 2.312 kB / 244.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002882/0.0029, allocations: 3.044 MB / 247.7 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.004369, allocations: 1.044 MB / 248.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.004551, allocations: 19.81 kB / 248.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.004728, allocations: 99.03 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.004879, allocations: 106.8 kB / 249 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.005274, allocations: 235.5 kB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.005753, allocations: 0.5525 MB / 249.8 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.005973, allocations: 145.2 kB / 249.9 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.006314, allocations: 295.2 kB / 250.2 MB, free: 8.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.006528, allocations: 127.5 kB / 250.3 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.006565, allocations: 36 kB / 250.4 MB, free: 8.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.006675, allocations: 55.98 kB / 250.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.006721, allocations: 67.69 kB / 250.5 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.006805, allocations: 123.7 kB / 250.6 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.007154, allocations: 354.5 kB / 251 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.007165, allocations: 4 kB / 251 MB, free: 7.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007166, allocations: 0 / 251 MB, free: 7.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.007177, allocations: 3.938 kB / 251 MB, free: 7.949 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.0006494/0.007826, allocations: 0.7527 MB / 251.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.007859, allocations: 8.031 kB / 251.7 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.008034, allocations: 157.7 kB / 251.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.008526, allocations: 316.9 kB / 252.2 MB, free: 6.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.008546, allocations: 29 kB / 252.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.008589, allocations: 48 kB / 252.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.008975, allocations: 424 kB / 252.7 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.00899, allocations: 4 kB / 252.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.00901, allocations: 20 kB / 252.7 MB, free: 6.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.00902, allocations: 12 kB / 252.7 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.009192, allocations: 142.8 kB / 252.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.01047, allocations: 2.44 MB / 255.3 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.01068, allocations: 94.45 kB / 255.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.01072, allocations: 36.83 kB / 255.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.01078, allocations: 8 kB / 255.4 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.0108, allocations: 34.56 kB / 255.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.0108, allocations: 0 / 255.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008202/0.01162, allocations: 378.7 kB / 255.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.01164, allocations: 55.41 kB / 255.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.01183, allocations: 339.1 kB / 256.2 MB, free: 2.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.01184, allocations: 29.69 kB / 256.2 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.01194, allocations: 272.3 kB / 256.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.01197, allocations: 63.45 kB / 256.6 MB, free: 1.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.01203, allocations: 65.64 kB / 256.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.01211, allocations: 354.7 kB / 257 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.01214, allocations: 23.98 kB / 257 MB, free: 1.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.01224, allocations: 195.4 kB / 257.2 MB, free: 1.281 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.0002737/0.01251, allocations: 311.8 kB / 257.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01251, allocations: 0 / 257.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002456/0.01276, allocations: 241.2 kB / 257.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01278, allocations: 11.94 kB / 257.7 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01278, allocations: 7.938 kB / 257.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000108/0.01289, allocations: 28.84 kB / 257.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.01306, allocations: 87.84 kB / 257.9 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007214/0.01378, allocations: 1.38 MB / 259.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.01386, allocations: 16 kB / 259.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01388, allocations: 12 kB / 259.3 MB, free: 15.03 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.703e-05/0.01397, allocations: 136.8 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.014, allocations: 27.97 kB / 259.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01404, allocations: 35.53 kB / 259.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01404, allocations: 4 kB / 259.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01405, allocations: 0 / 259.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01405, allocations: 3.984 kB / 259.5 MB, free: 14.82 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.0004032/0.01445, allocations: 400.3 kB / 259.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01445, allocations: 0 / 259.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.01457, allocations: 43.48 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.01459, allocations: 31.7 kB / 259.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/0.01465, allocations: 24.84 kB / 260 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01466, allocations: 3.938 kB / 260 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005015/0.01516, allocations: 1.187 MB / 261.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01517, allocations: 7.938 kB / 261.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.01535, allocations: 246.8 kB / 261.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.01536, allocations: 8 kB / 261.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.01542, allocations: 4 kB / 261.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.01545, allocations: 15.91 kB / 261.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01546, allocations: 7.938 kB / 261.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.413e-05/0.01554, allocations: 132.7 kB / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.01554, allocations: 0 / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.0158, allocations: 68 kB / 261.6 MB, free: 12.52 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.831e-05/0.01588, allocations: 84.45 kB / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.01615, allocations: 264.7 kB / 262 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.01616, allocations: 8 kB / 262 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01627, allocations: 179.4 kB / 262.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.01655, allocations: 272.6 kB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.02063, allocations: 0.7919 MB / 263.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.671e-05/0.0207, allocations: 108.6 kB / 263.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.02078, allocations: 39.25 kB / 263.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.0209, allocations: 107.3 kB / 263.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0209, allocations: 0 / 263.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of Templates: time 0.005742/0.02664, allocations: 2.939 MB / 266.4 MB, free: 7.684 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.562980702146888]