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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 117.2 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 208.5 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2372, allocations: 50.55 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003892/0.2411, allocations: 3.064 MB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2427, allocations: 1.029 MB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.2428, allocations: 11.94 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.2431, allocations: 95.05 kB / 413.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.2433, allocations: 102.9 kB / 413.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.2438, allocations: 227.6 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.2443, allocations: 0.5448 MB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.2446, allocations: 230.6 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2448, allocations: 179.2 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.245, allocations: 182.9 kB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.2451, allocations: 36 kB / 414.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2452, allocations: 56 kB / 415 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.2453, allocations: 87.64 kB / 415 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2455, allocations: 226.7 kB / 415.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.246, allocations: 0.5887 MB / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.246, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.246, allocations: 0 / 415.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.246, allocations: 4 kB / 415.9 MB, free: 10.96 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.000904/0.247, allocations: 0.7367 MB / 416.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.247, allocations: 8.031 kB / 416.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.2472, allocations: 75.92 kB / 416.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.2477, allocations: 422.3 kB / 417.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2478, allocations: 33 kB / 417.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.2478, allocations: 36 kB / 417.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.2486, allocations: 499.2 kB / 417.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.2486, allocations: 4 kB / 417.6 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2486, allocations: 16 kB / 417.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.2486, allocations: 15.94 kB / 417.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.2491, allocations: 250.1 kB / 417.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.2512, allocations: 2.819 MB / 420.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.2516, allocations: 158.6 kB / 420.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.2517, allocations: 68.88 kB / 421 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.2518, allocations: 81.11 kB / 421 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2519, allocations: 46.44 kB / 421.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2519, allocations: 0 / 421.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001182/0.2531, allocations: 0.625 MB / 421.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2531, allocations: 55.41 kB / 421.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.2535, allocations: 349.6 kB / 422.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2535, allocations: 25.7 kB / 422.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2537, allocations: 303 kB / 422.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.2537, allocations: 71.05 kB / 422.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.2538, allocations: 69.56 kB / 422.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.254, allocations: 350.7 kB / 422.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.2541, allocations: 67.95 kB / 423 MB, free: 3.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2543, allocations: 211.4 kB / 423.2 MB, free: 3.109 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.0009057/0.2553, allocations: 0.518 MB / 423.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2553, allocations: 4 kB / 423.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005679/0.2558, allocations: 359.6 kB / 424.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2559, allocations: 8 kB / 424.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2559, allocations: 4.688 kB / 424.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.256, allocations: 40.84 kB / 424.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2563, allocations: 71.91 kB / 424.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2576, allocations: 1.639 MB / 425.8 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2578, allocations: 12 kB / 425.8 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2578, allocations: 16 kB / 425.8 MB, free: 216 kB / 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.0001919/0.258, allocations: 177.6 kB / 426 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.2581, allocations: 39.52 kB / 426.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.621e-05/0.2582, allocations: 39.55 kB / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2582, allocations: 4.062 kB / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2582, allocations: 0 / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2582, allocations: 0 / 426.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.2591, allocations: 0.7175 MB / 426.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2591, allocations: 0 / 426.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2593, allocations: 35.92 kB / 426.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.2594, allocations: 28.88 kB / 426.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2594, allocations: 4 kB / 426.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000899/0.2603, allocations: 1.438 MB / 428.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2603, allocations: 0 / 428.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.2608, allocations: 361.1 kB / 428.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.2609, allocations: 104.6 kB / 428.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.2609, allocations: 7.938 kB / 428.8 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.261, allocations: 12.09 kB / 428.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2611, allocations: 23.86 kB / 428.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2611, allocations: 0 / 428.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.2613, allocations: 239.2 kB / 429.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2613, allocations: 0 / 429.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.2618, allocations: 68 kB / 429.1 MB, free: 12.66 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.0001108/0.2619, allocations: 95.25 kB / 429.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.2624, allocations: 322.3 kB / 429.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2624, allocations: 1.375 kB / 429.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.2627, allocations: 178.6 kB / 429.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.263, allocations: 36.75 kB / 429.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2642, allocations: 0.8484 MB / 430.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.2646, allocations: 0.8185 MB / 431.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2647, allocations: 39.25 kB / 431.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.2648, allocations: 31.42 kB / 431.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2648, allocations: 0 / 431.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006435/0.2713, allocations: 2.76 MB / 434.2 MB, free: 7.469 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches