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.008929/0.008929, allocations: 110 kB / 21.98 MB, free: 5.184 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.002276/0.002276, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.488/1.488, allocations: 230.6 MB / 259 MB, free: 8.016 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.002015/0.002015, allocations: 67.89 kB / 379.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2935, allocations: 53.36 MB / 433.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004834/0.2983, allocations: 3.097 MB / 436.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3004, allocations: 1.041 MB / 437.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.3007, allocations: 15.88 kB / 437.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3009, allocations: 91.05 kB / 437.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.3011, allocations: 106.9 kB / 437.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.3018, allocations: 239.4 kB / 437.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.3024, allocations: 0.541 MB / 438.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.3027, allocations: 147.2 kB / 438.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.303, allocations: 187.2 kB / 438.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.3033, allocations: 178.9 kB / 438.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.3034, allocations: 40 kB / 438.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3035, allocations: 59.98 kB / 438.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.3036, allocations: 87.64 kB / 439 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3038, allocations: 226.7 kB / 439.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.3046, allocations: 0.5885 MB / 439.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3046, allocations: 0 / 439.8 MB, free: 360 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3046, allocations: 3.938 kB / 439.8 MB, free: 356 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.3046, allocations: 0 / 439.8 MB, free: 356 kB / 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.001174/0.3058, allocations: 0.6803 MB / 440.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3058, allocations: 8.031 kB / 440.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.306, allocations: 76.3 kB / 440.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.3068, allocations: 359.4 kB / 440.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3068, allocations: 29 kB / 440.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.3069, allocations: 43.95 kB / 441 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.3077, allocations: 491.2 kB / 441.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.3077, allocations: 7.938 kB / 441.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.3077, allocations: 16 kB / 441.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3077, allocations: 12 kB / 441.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.3083, allocations: 250.1 kB / 441.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3108, allocations: 2.762 MB / 444.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.3113, allocations: 163.7 kB / 444.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3115, allocations: 64.83 kB / 444.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.677e-05/0.3116, allocations: 4 kB / 444.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3116, allocations: 34.5 kB / 444.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3116, allocations: 0 / 444.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001372/0.313, allocations: 0.5662 MB / 445.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.313, allocations: 59.39 kB / 445.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3134, allocations: 345.6 kB / 445.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3134, allocations: 29.64 kB / 445.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3137, allocations: 307.7 kB / 446 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.3138, allocations: 71.45 kB / 446.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3139, allocations: 73.61 kB / 446.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3141, allocations: 350.7 kB / 446.5 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3142, allocations: 63.97 kB / 446.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.3145, allocations: 223.4 kB / 446.8 MB, free: 8.891 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.0009843/0.3155, allocations: 445 kB / 447.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3155, allocations: 0 / 447.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006458/0.3161, allocations: 360.7 kB / 447.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3161, allocations: 8 kB / 447.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3161, allocations: 4 kB / 447.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.3163, allocations: 36.84 kB / 447.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.3166, allocations: 71.89 kB / 447.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.3181, allocations: 1.536 MB / 449.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3183, allocations: 12 kB / 449.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3183, allocations: 20 kB / 449.3 MB, free: 6.227 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.0002596/0.3186, allocations: 173.7 kB / 449.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.3187, allocations: 43.7 kB / 449.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.3187, allocations: 35.53 kB / 449.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3187, allocations: 7.938 kB / 449.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3187, allocations: 3.938 kB / 449.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3188, allocations: 3.984 kB / 449.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3198, allocations: 0.6809 MB / 450.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3198, allocations: 0 / 450.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.32, allocations: 35.98 kB / 450.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.3201, allocations: 28.78 kB / 450.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3201, allocations: 4 kB / 450.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.3212, allocations: 1.331 MB / 451.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3212, allocations: 3.938 kB / 451.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.3218, allocations: 365.3 kB / 452 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.3218, allocations: 31.77 kB / 452 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3218, allocations: 4 kB / 452 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.322, allocations: 8 kB / 452 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.322, allocations: 19.89 kB / 452 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.322, allocations: 4 kB / 452 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.3223, allocations: 239.2 kB / 452.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3223, allocations: 0 / 452.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3227, allocations: 68 kB / 452.3 MB, free: 2.938 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.0001235/0.3229, allocations: 103.2 kB / 452.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.3235, allocations: 299.4 kB / 452.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3235, allocations: 0 / 452.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.3237, allocations: 186.5 kB / 452.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.3241, allocations: 37.44 kB / 452.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3256, allocations: 0.8939 MB / 453.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3261, allocations: 0.8107 MB / 454.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.3262, allocations: 35.42 kB / 454.7 MB, free: 500 kB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3262, allocations: 0 / 454.7 MB, free: 500 kB / 350.1 MB Notification: Performance of Templates: time 0.009645/0.3358, allocations: 6.48 MB / 461.2 MB, free: 10 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.759494815953076]