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.0008124/0.0008124, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001828, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006552/0.0006552, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008591/0.001514, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.006/1.006, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0921/1.098, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.563e-06/1.563e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.405e-05, allocations: 2.312 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004534/0.004558, allocations: 3.005 MB / 242.5 MB, free: 180 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.006786, allocations: 0.9975 MB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.007143, allocations: 15.88 kB / 243.6 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.00738, allocations: 95.05 kB / 243.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.007638, allocations: 114.8 kB / 243.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.008278, allocations: 219.5 kB / 244 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.008946, allocations: 0.5486 MB / 244.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.009229, allocations: 145.2 kB / 244.7 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004538/0.009683, allocations: 287.3 kB / 244.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.009889, allocations: 123.5 kB / 245.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.009945, allocations: 36 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.01009, allocations: 55.94 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.01016, allocations: 67.69 kB / 245.2 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.01029, allocations: 123.7 kB / 245.3 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.01082, allocations: 346.5 kB / 245.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.073e-05/0.01085, allocations: 0 / 245.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.01085, allocations: 0 / 245.7 MB, free: 13.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.01088, allocations: 0 / 245.7 MB, free: 13.01 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.001053/0.01193, allocations: 0.745 MB / 246.4 MB, free: 12.24 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.01198, allocations: 12.03 kB / 246.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.01208, allocations: 72.62 kB / 246.5 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.01258, allocations: 320.8 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.0126, allocations: 32.94 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.01266, allocations: 43.98 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.01327, allocations: 0.4894 MB / 247.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.0133, allocations: 7.938 kB / 247.4 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.01332, allocations: 16 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.01334, allocations: 12 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.01361, allocations: 146.8 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.01552, allocations: 2.437 MB / 250 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.01584, allocations: 98.41 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.0159, allocations: 40.81 kB / 250.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.01597, allocations: 8 kB / 250.1 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.016, allocations: 34.56 kB / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 3.006e-06/0.01601, allocations: 0 / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009112/0.01692, allocations: 361.8 kB / 250.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.01695, allocations: 63.33 kB / 250.6 MB, free: 7.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.01723, allocations: 335.2 kB / 250.9 MB, free: 7.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01724, allocations: 25.7 kB / 250.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.0174, allocations: 268.3 kB / 251.2 MB, free: 7.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.01745, allocations: 67.42 kB / 251.3 MB, free: 7.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.01754, allocations: 73.58 kB / 251.3 MB, free: 6.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01766, allocations: 350.7 kB / 251.7 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.01771, allocations: 23.98 kB / 251.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.01786, allocations: 187.6 kB / 251.9 MB, free: 6.363 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.000407/0.01826, allocations: 300.7 kB / 252.2 MB, free: 6.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.01827, allocations: 8 kB / 252.2 MB, free: 5.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003804/0.01865, allocations: 242.5 kB / 252.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01867, allocations: 4 kB / 252.4 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.01868, allocations: 8 kB / 252.4 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.01882, allocations: 24.84 kB / 252.5 MB, free: 5.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.01908, allocations: 99.81 kB / 252.6 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009896/0.02007, allocations: 1.368 MB / 253.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.02021, allocations: 12.06 kB / 253.9 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.02023, allocations: 19.94 kB / 254 MB, free: 4.137 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.0001338/0.02036, allocations: 133.7 kB / 254.1 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.02041, allocations: 31.91 kB / 254.1 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.02048, allocations: 39.53 kB / 254.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.02048, allocations: 0 / 254.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.02049, allocations: 4 kB / 254.2 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02049, allocations: 3.984 kB / 254.2 MB, free: 3.918 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.0006038/0.02109, allocations: 400.2 kB / 254.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.0211, allocations: 0 / 254.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.02128, allocations: 39.97 kB / 254.6 MB, free: 3.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.02132, allocations: 31.7 kB / 254.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-05/0.0214, allocations: 28.83 kB / 254.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.02141, allocations: 0 / 254.7 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.02214, allocations: 1.175 MB / 255.8 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.02214, allocations: 8.062 kB / 255.8 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.02242, allocations: 245.5 kB / 256.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.02245, allocations: 8 kB / 256.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.02254, allocations: 0 / 256.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.02258, allocations: 19.97 kB / 256.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.02259, allocations: 3.938 kB / 256.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.02273, allocations: 132.7 kB / 256.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02273, allocations: 0 / 256.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000433/0.02316, allocations: 68 kB / 256.3 MB, free: 1.625 MB / 250.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.0001148/0.02327, allocations: 88.36 kB / 256.4 MB, free: 1.531 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.02366, allocations: 259.2 kB / 256.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.02368, allocations: 8 kB / 256.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.02383, allocations: 159.4 kB / 256.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.02413, allocations: 57.55 kB / 256.9 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.03082, allocations: 0.7997 MB / 257.7 MB, free: 200 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.03092, allocations: 116.6 kB / 257.8 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.03106, allocations: 43.2 kB / 257.8 MB, free: 20 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.03123, allocations: 99.34 kB / 257.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of SimCode: time 1.442e-06/0.03123, allocations: 0 / 257.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Templates: time 0.008079/0.03931, allocations: 3.092 MB / 261 MB, free: 12.89 MB / 266.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 -ignoreHideResult -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.620007381774485]