Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002097/0.002097, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002606/0.002606, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.89 kB / 373.8 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.1007, allocations: 53.32 MB / 427.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004484/0.1052, allocations: 3.088 MB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1069, allocations: 1.033 MB / 431.3 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.1071, allocations: 11.94 kB / 431.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.1074, allocations: 99.03 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1076, allocations: 87.03 kB / 431.4 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2049/0.3125, allocations: 231.8 kB / 431.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008721/0.3134, allocations: 0.5477 MB / 432.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.3136, allocations: 150.5 kB / 432.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.314, allocations: 182.1 kB / 432.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3141, allocations: 180 kB / 432.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.3142, allocations: 36.75 kB / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3143, allocations: 57.31 kB / 432.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3144, allocations: 86.91 kB / 432.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3145, allocations: 230.9 kB / 433.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3151, allocations: 0.5854 MB / 433.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3151, allocations: 7 kB / 433.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3151, allocations: 1.156 kB / 433.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3151, allocations: 0 / 433.7 MB, free: 7.855 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.0008133/0.3159, allocations: 0.7524 MB / 434.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3159, allocations: 8.562 kB / 434.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.3161, allocations: 70.16 kB / 434.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3166, allocations: 432.2 kB / 435 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.3167, allocations: 30.72 kB / 435 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.3167, allocations: 44.73 kB / 435 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.3174, allocations: 494.5 kB / 435.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.3174, allocations: 4.469 kB / 435.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3174, allocations: 17.28 kB / 435.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.3174, allocations: 11.84 kB / 435.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.3179, allocations: 242.4 kB / 435.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3195, allocations: 2.821 MB / 438.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.3199, allocations: 151.2 kB / 438.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3201, allocations: 66.41 kB / 438.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3202, allocations: 84.48 kB / 438.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3202, allocations: 41.56 kB / 439 MB, free: 4.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3202, allocations: 0 / 439 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001188/0.3214, allocations: 0.6395 MB / 439.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3214, allocations: 53.73 kB / 439.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.3218, allocations: 345.3 kB / 440 MB, free: 3.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3218, allocations: 32.33 kB / 440 MB, free: 3.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.322, allocations: 310.8 kB / 440.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.322, allocations: 69 kB / 440.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.3221, allocations: 67.48 kB / 440.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3221, allocations: 345.8 kB / 440.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3223, allocations: 63.89 kB / 440.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.3225, allocations: 219.4 kB / 441.1 MB, free: 2.945 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.0008748/0.3233, allocations: 0.5154 MB / 441.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3233, allocations: 3 kB / 441.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005571/0.3239, allocations: 361 kB / 441.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3239, allocations: 10.59 kB / 441.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3239, allocations: 6.078 kB / 441.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.3241, allocations: 38.47 kB / 442 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.3243, allocations: 80.95 kB / 442.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.3253, allocations: 1.625 MB / 443.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3255, allocations: 17.78 kB / 443.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3255, allocations: 16.53 kB / 443.7 MB, free: 0.7891 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.000196/0.3257, allocations: 170.5 kB / 443.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3258, allocations: 36.11 kB / 443.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.3258, allocations: 38.5 kB / 444 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3258, allocations: 6.672 kB / 444 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3258, allocations: 5.375 kB / 444 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3258, allocations: 1.172 kB / 444 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.3267, allocations: 0.7063 MB / 444.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3267, allocations: 1.094 kB / 444.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3269, allocations: 32.64 kB / 444.7 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.289e-05/0.327, allocations: 27.41 kB / 444.7 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.327, allocations: 10.8 kB / 444.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.3282, allocations: 1.427 MB / 446.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3282, allocations: 6.031 kB / 446.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.3287, allocations: 372.5 kB / 446.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.3288, allocations: 106.4 kB / 446.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3288, allocations: 5.031 kB / 446.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3289, allocations: 5.75 kB / 446.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.329, allocations: 15.08 kB / 446.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.329, allocations: 8.891 kB / 446.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.3293, allocations: 233.6 kB / 446.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3293, allocations: 0 / 446.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.3298, allocations: 67.12 kB / 447 MB, free: 14.11 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.0001302/0.3299, allocations: 103.8 kB / 447.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.3305, allocations: 310.8 kB / 447.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3305, allocations: 6.031 kB / 447.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.3308, allocations: 182.7 kB / 447.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3312, allocations: 43.94 kB / 447.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.3327, allocations: 0.8572 MB / 448.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.3331, allocations: 0.8161 MB / 449.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3332, allocations: 39.09 kB / 449.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.3333, allocations: 34 kB / 449.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3333, allocations: 0 / 449.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.007401/0.3407, allocations: 2.813 MB / 452.2 MB, free: 12.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.531184917315841]