Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 115.7 kB / 17.74 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 189.6 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3005, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004061/0.3046, allocations: 3.069 MB / 404.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3062, allocations: 0.9592 MB / 405.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.3064, allocations: 11.94 kB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3066, allocations: 91.05 kB / 405.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3068, allocations: 103 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.3073, allocations: 215.6 kB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.3078, allocations: 0.5449 MB / 406.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.3081, allocations: 222.7 kB / 406.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.3083, allocations: 171.2 kB / 406.8 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3085, allocations: 179 kB / 406.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.3086, allocations: 36 kB / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3087, allocations: 55.92 kB / 407 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.3088, allocations: 91.64 kB / 407.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.309, allocations: 222.7 kB / 407.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.3095, allocations: 0.5887 MB / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3095, allocations: 0 / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3095, allocations: 4 kB / 407.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.3095, allocations: 0 / 407.9 MB, free: 2.332 MB / 318.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.0008735/0.3104, allocations: 0.7289 MB / 408.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3105, allocations: 11.89 kB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.3105, allocations: 60.03 kB / 408.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.3111, allocations: 426.3 kB / 409.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.3111, allocations: 32.94 kB / 409.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.3112, allocations: 47.89 kB / 409.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.3119, allocations: 483.4 kB / 409.7 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.3119, allocations: 4 kB / 409.7 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.312, allocations: 19.94 kB / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.312, allocations: 16 kB / 409.7 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.3124, allocations: 246.2 kB / 410 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3145, allocations: 2.819 MB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.3149, allocations: 158.6 kB / 412.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.315, allocations: 76.88 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3152, allocations: 81.11 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3152, allocations: 46.48 kB / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3152, allocations: 0 / 413.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001211/0.3164, allocations: 0.6146 MB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3165, allocations: 59.31 kB / 413.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.3168, allocations: 337.7 kB / 414.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3168, allocations: 29.7 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.317, allocations: 302.9 kB / 414.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.3171, allocations: 63.11 kB / 414.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.3171, allocations: 65.61 kB / 414.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3173, allocations: 350.7 kB / 414.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3175, allocations: 71.95 kB / 415 MB, free: 10.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.3177, allocations: 215.5 kB / 415.2 MB, free: 10.5 MB / 334.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.0008795/0.3186, allocations: 0.5135 MB / 415.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3186, allocations: 4 kB / 415.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005456/0.3191, allocations: 360.7 kB / 416.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3192, allocations: 12.09 kB / 416.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3192, allocations: 4 kB / 416.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.3193, allocations: 40.78 kB / 416.1 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3195, allocations: 75.84 kB / 416.2 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3208, allocations: 1.639 MB / 417.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.321, allocations: 12 kB / 417.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.321, allocations: 16 kB / 417.9 MB, free: 7.594 MB / 334.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.0002069/0.3212, allocations: 177.7 kB / 418.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.3213, allocations: 39.56 kB / 418.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.3214, allocations: 39.59 kB / 418.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3214, allocations: 0 / 418.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3214, allocations: 4 kB / 418.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3214, allocations: 0 / 418.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.3223, allocations: 0.7103 MB / 418.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3223, allocations: 4.031 kB / 418.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.3225, allocations: 39.92 kB / 418.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.378e-05/0.3226, allocations: 24.84 kB / 418.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3226, allocations: 0 / 418.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009309/0.3235, allocations: 1.434 MB / 420.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3236, allocations: 4.031 kB / 420.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.324, allocations: 360.6 kB / 420.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.3241, allocations: 108.7 kB / 420.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3241, allocations: 8 kB / 420.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3243, allocations: 4 kB / 420.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.3243, allocations: 19.95 kB / 420.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3243, allocations: 4 kB / 420.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3246, allocations: 235.2 kB / 421.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3246, allocations: 0 / 421.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004165/0.325, allocations: 68 kB / 421.1 MB, free: 4.062 MB / 334.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.0001242/0.3251, allocations: 103.2 kB / 421.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005645/0.3257, allocations: 315.5 kB / 421.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3257, allocations: 192 / 421.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.3259, allocations: 182.5 kB / 421.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3263, allocations: 45.48 kB / 421.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3276, allocations: 0.875 MB / 422.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.328, allocations: 0.8224 MB / 423.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.3281, allocations: 31.38 kB / 423.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3281, allocations: 0 / 423.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Templates: time 0.007926/0.336, allocations: 6.431 MB / 429.9 MB, free: 11.17 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches