Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.4 MB / 255.4 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.81 kB / 374.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09898, allocations: 53.31 MB / 428 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00441/0.1034, allocations: 3.082 MB / 431.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1051, allocations: 1.033 MB / 432.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1052, allocations: 19.88 kB / 432.2 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1055, allocations: 95.09 kB / 432.3 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1056, allocations: 102.9 kB / 432.4 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1946/0.3002, allocations: 221.4 kB / 432.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.3009, allocations: 0.5447 MB / 433.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.3012, allocations: 149.8 kB / 433.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.3015, allocations: 181.1 kB / 433.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3017, allocations: 184 kB / 433.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.3017, allocations: 36.09 kB / 433.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3019, allocations: 60.11 kB / 433.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.3019, allocations: 86.67 kB / 433.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3021, allocations: 232 kB / 434 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.3026, allocations: 0.5871 MB / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3026, allocations: 0 / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3026, allocations: 0 / 434.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3026, allocations: 0 / 434.6 MB, free: 7.922 MB / 350.1 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.0007951/0.3034, allocations: 0.759 MB / 435.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3034, allocations: 10.94 kB / 435.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3036, allocations: 68.72 kB / 435.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.3041, allocations: 427.7 kB / 435.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.3042, allocations: 33.88 kB / 435.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.3042, allocations: 41.23 kB / 436 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.3048, allocations: 491.4 kB / 436.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3049, allocations: 2.438 kB / 436.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.3049, allocations: 20.53 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3049, allocations: 11.5 kB / 436.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.3054, allocations: 248.2 kB / 436.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.307, allocations: 2.82 MB / 439.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.3074, allocations: 151.7 kB / 439.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.3076, allocations: 68.64 kB / 439.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.393e-05/0.3077, allocations: 87.61 kB / 439.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.3077, allocations: 32.81 kB / 439.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3077, allocations: 0.6094 kB / 439.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001111/0.3088, allocations: 0.6385 MB / 440.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.3088, allocations: 54.45 kB / 440.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.3091, allocations: 343.1 kB / 440.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3091, allocations: 30.8 kB / 440.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3093, allocations: 306.5 kB / 441.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3093, allocations: 71.48 kB / 441.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.3094, allocations: 65.41 kB / 441.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.3095, allocations: 347.3 kB / 441.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3096, allocations: 67.36 kB / 441.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3098, allocations: 215.6 kB / 442 MB, free: 2.848 MB / 350.1 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.000814/0.3106, allocations: 0.5159 MB / 442.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3106, allocations: 2.516 kB / 442.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00052/0.3111, allocations: 361.9 kB / 442.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3111, allocations: 11.81 kB / 442.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3111, allocations: 4.875 kB / 442.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.3113, allocations: 35.86 kB / 442.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3115, allocations: 73.22 kB / 443 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008944/0.3124, allocations: 1.632 MB / 444.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3125, allocations: 17.36 kB / 444.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3126, allocations: 19.42 kB / 444.6 MB, free: 0.6914 MB / 350.1 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.0001559/0.3127, allocations: 170.8 kB / 444.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3128, allocations: 39.98 kB / 444.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.3128, allocations: 35.41 kB / 444.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3128, allocations: 7.078 kB / 444.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3128, allocations: 1.688 kB / 444.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3128, allocations: 0.6094 kB / 444.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009363/0.3138, allocations: 0.7131 MB / 445.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3138, allocations: 0.7969 kB / 445.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.314, allocations: 39.78 kB / 445.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.314, allocations: 23.48 kB / 445.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3141, allocations: 10.77 kB / 445.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3152, allocations: 1.427 MB / 447.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3152, allocations: 5.5 kB / 447.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.3158, allocations: 372 kB / 447.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.3159, allocations: 107 kB / 447.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3159, allocations: 6.125 kB / 447.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.316, allocations: 7.641 kB / 447.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.3161, allocations: 11.22 kB / 447.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3161, allocations: 3.156 kB / 447.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3164, allocations: 237.9 kB / 447.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3164, allocations: 0 / 447.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.3168, allocations: 68.59 kB / 447.9 MB, free: 14.02 MB / 366.1 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.000129/0.3169, allocations: 106.9 kB / 448 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006404/0.3176, allocations: 301.9 kB / 448.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3176, allocations: 7.938 kB / 448.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3179, allocations: 180 kB / 448.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3182, allocations: 47.64 kB / 448.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3197, allocations: 0.8867 MB / 449.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.3202, allocations: 0.818 MB / 450.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-05/0.3203, allocations: 38.22 kB / 450.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3203, allocations: 1.219 kB / 450.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01014/0.3304, allocations: 6.469 MB / 456.7 MB, free: 11.03 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.294159357901663]