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.001457/0.001457, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001609/0.001609, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.384/1.384, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.002591/0.002591, allocations: 71.81 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2764, allocations: 53.3 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004574/0.2809, allocations: 3.108 MB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.2829, allocations: 1.033 MB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2831, allocations: 7.938 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.2833, allocations: 99.05 kB / 436.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.2835, allocations: 98.95 kB / 436.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.2841, allocations: 231.5 kB / 436.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.2847, allocations: 0.5487 MB / 437.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.2851, allocations: 146.7 kB / 437.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.2853, allocations: 187.2 kB / 437.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2856, allocations: 179 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.2856, allocations: 36 kB / 437.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2858, allocations: 59.98 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.2859, allocations: 83.66 kB / 437.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2861, allocations: 230.7 kB / 438 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.2868, allocations: 0.5848 MB / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2868, allocations: 0 / 438.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2868, allocations: 4 kB / 438.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2868, allocations: 0 / 438.6 MB, free: 0.7148 MB / 334.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.001134/0.2879, allocations: 0.7557 MB / 439.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.288, allocations: 16.02 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2882, allocations: 68.31 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.2889, allocations: 426.5 kB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.2889, allocations: 29 kB / 439.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.2889, allocations: 43.95 kB / 440 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.2897, allocations: 491.2 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.2897, allocations: 7.984 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2898, allocations: 20 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2898, allocations: 15.94 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.2903, allocations: 250.1 kB / 440.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.2929, allocations: 2.823 MB / 443.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.2933, allocations: 154.7 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2935, allocations: 60.84 kB / 443.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2936, allocations: 85.09 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2936, allocations: 50.44 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.2936, allocations: 0 / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001357/0.295, allocations: 0.6323 MB / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.295, allocations: 55.41 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.2954, allocations: 345.6 kB / 444.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2954, allocations: 29.7 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.2957, allocations: 315.7 kB / 445.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.2957, allocations: 63.47 kB / 445.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.2958, allocations: 69.61 kB / 445.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.296, allocations: 350.7 kB / 445.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2962, allocations: 63.97 kB / 445.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.2964, allocations: 215.4 kB / 446 MB, free: 8.828 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.0009741/0.2974, allocations: 0.5119 MB / 446.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2974, allocations: 7.984 kB / 446.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006107/0.298, allocations: 353.6 kB / 446.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.298, allocations: 8 kB / 446.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.298, allocations: 8 kB / 446.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.2982, allocations: 33.53 kB / 446.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2984, allocations: 79.89 kB / 447 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.2999, allocations: 1.631 MB / 448.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.3001, allocations: 19.98 kB / 448.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3001, allocations: 12 kB / 448.7 MB, free: 5.938 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.0002342/0.3004, allocations: 173.7 kB / 448.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/0.3004, allocations: 39.7 kB / 448.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/0.3005, allocations: 39.58 kB / 448.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3005, allocations: 0 / 448.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3005, allocations: 4.062 kB / 448.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3005, allocations: 0 / 448.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.3015, allocations: 0.7064 MB / 449.6 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3015, allocations: 7.984 kB / 449.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.3017, allocations: 31.98 kB / 449.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.182e-05/0.3018, allocations: 28.78 kB / 449.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3018, allocations: 16.03 kB / 449.7 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.303, allocations: 1.426 MB / 451.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.303, allocations: 4.062 kB / 451.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.3035, allocations: 368.1 kB / 451.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-05/0.3036, allocations: 108.9 kB / 451.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3036, allocations: 4 kB / 451.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3037, allocations: 8 kB / 451.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.3038, allocations: 23.8 kB / 451.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3038, allocations: 4 kB / 451.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.304, allocations: 239.2 kB / 451.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.304, allocations: 0 / 451.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.3045, allocations: 68 kB / 451.9 MB, free: 2.387 MB / 350.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.0001359/0.3046, allocations: 103.2 kB / 452 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.3052, allocations: 300.9 kB / 452.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3052, allocations: 0 / 452.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.3055, allocations: 179.9 kB / 452.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3058, allocations: 48.23 kB / 452.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3073, allocations: 0.9002 MB / 453.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.3078, allocations: 0.8146 MB / 454.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.3078, allocations: 35.38 kB / 454.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3078, allocations: 0 / 454.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Templates: time 0.009546/0.3174, allocations: 6.467 MB / 460.8 MB, free: 9.449 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.169330251868814]