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.001645/0.001645, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002409/0.002409, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.498/1.498, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.00336/0.00336, allocations: 55.91 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.3007, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004715/0.3054, allocations: 3.089 MB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3076, allocations: 1.053 MB / 436.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.3078, allocations: 19.81 kB / 436.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3081, allocations: 95.03 kB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3083, allocations: 95.02 kB / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.3089, allocations: 231.5 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006368/0.3096, allocations: 0.5448 MB / 437.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.3099, allocations: 151.2 kB / 437.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.3102, allocations: 183.3 kB / 437.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3105, allocations: 186.9 kB / 438.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.617e-05/0.3105, allocations: 40 kB / 438.1 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3107, allocations: 52 kB / 438.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3107, allocations: 87.64 kB / 438.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.311, allocations: 226.7 kB / 438.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.3116, allocations: 0.5846 MB / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3116, allocations: 0 / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3117, allocations: 4 kB / 439 MB, free: 144 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3117, allocations: 0 / 439 MB, free: 144 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.00108/0.3127, allocations: 0.6844 MB / 439.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3128, allocations: 8.031 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.313, allocations: 76.3 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.3137, allocations: 355.4 kB / 440.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3137, allocations: 33 kB / 440.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.3138, allocations: 43.89 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.3146, allocations: 495.3 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.3146, allocations: 7.938 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3147, allocations: 16 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3147, allocations: 12 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.3152, allocations: 246.1 kB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.3177, allocations: 2.758 MB / 443.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.3182, allocations: 154.6 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3183, allocations: 72.86 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/0.3184, allocations: 8 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3184, allocations: 34.5 kB / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.3184, allocations: 0 / 444 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001344/0.3198, allocations: 0.557 MB / 444.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.3198, allocations: 55.41 kB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.3202, allocations: 357.5 kB / 445 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3203, allocations: 25.7 kB / 445 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3205, allocations: 311.7 kB / 445.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3205, allocations: 63.47 kB / 445.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3207, allocations: 69.61 kB / 445.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3208, allocations: 350.7 kB / 445.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.321, allocations: 67.95 kB / 445.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.3212, allocations: 222.5 kB / 446.1 MB, free: 8.684 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.0009599/0.3222, allocations: 445.6 kB / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3222, allocations: 0 / 446.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006263/0.3228, allocations: 365.5 kB / 446.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3228, allocations: 4.688 kB / 446.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3229, allocations: 8 kB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.323, allocations: 40.84 kB / 446.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.3233, allocations: 67.91 kB / 447 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3247, allocations: 1.535 MB / 448.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3249, allocations: 15.98 kB / 448.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3249, allocations: 16 kB / 448.5 MB, free: 6.016 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.0002323/0.3251, allocations: 165.9 kB / 448.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.3252, allocations: 43.69 kB / 448.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.3253, allocations: 51.52 kB / 448.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3253, allocations: 0 / 448.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3253, allocations: 4 kB / 448.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3253, allocations: 0 / 448.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3263, allocations: 0.6743 MB / 449.5 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3263, allocations: 0 / 449.5 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3265, allocations: 36 kB / 449.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-05/0.3266, allocations: 28.86 kB / 449.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3266, allocations: 7.922 kB / 449.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3277, allocations: 1.33 MB / 450.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3277, allocations: 0 / 450.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.3283, allocations: 371.9 kB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.3283, allocations: 28 kB / 451.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3283, allocations: 16.06 kB / 451.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3284, allocations: 4.031 kB / 451.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.3285, allocations: 23.91 kB / 451.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.3285, allocations: 4 kB / 451.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.3288, allocations: 239.2 kB / 451.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3288, allocations: 3.938 kB / 451.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.3292, allocations: 68 kB / 451.6 MB, free: 2.723 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.000135/0.3294, allocations: 99.25 kB / 451.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.33, allocations: 299.7 kB / 452 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.33, allocations: 0 / 452 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3302, allocations: 178.6 kB / 452.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.3306, allocations: 37.48 kB / 452.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.3322, allocations: 0.8929 MB / 453.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3327, allocations: 0.8224 MB / 453.9 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.3327, allocations: 27.44 kB / 453.9 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3327, allocations: 0 / 453.9 MB, free: 288 kB / 350.1 MB Notification: Performance of Templates: time 0.01002/0.3428, allocations: 6.481 MB / 460.4 MB, free: 9.793 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/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_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: 7.985837497049943]