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.001165/0.001165, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 205.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.61 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 50.53 MB / 357.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005629/0.1084, allocations: 3.101 MB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1109, allocations: 1.014 MB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.1114, allocations: 11.94 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003873/0.1119, allocations: 75.36 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.1123, allocations: 79.27 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.113, allocations: 203.8 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.1138, allocations: 0.541 MB / 362.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.1143, allocations: 222.6 kB / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003984/0.1147, allocations: 183.2 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.115, allocations: 179 kB / 363.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.1151, allocations: 36 kB / 363.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1153, allocations: 59.92 kB / 363.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.1154, allocations: 87.64 kB / 363.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.1156, allocations: 230.7 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1162, allocations: 455.2 kB / 364.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1162, allocations: 0 / 364.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1162, allocations: 4 kB / 364.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.361e-05/0.1162, allocations: 0 / 364.1 MB, free: 7.922 MB / 302.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.001142/0.1174, allocations: 0.7405 MB / 364.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1174, allocations: 12.03 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.1177, allocations: 72.02 kB / 364.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.1183, allocations: 406.3 kB / 365.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1183, allocations: 29 kB / 365.3 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.1184, allocations: 43.91 kB / 365.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/0.1192, allocations: 487.4 kB / 365.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.1192, allocations: 3.938 kB / 365.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1192, allocations: 20 kB / 365.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1193, allocations: 8 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.1198, allocations: 250.1 kB / 366.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.1225, allocations: 2.827 MB / 368.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.1231, allocations: 162.6 kB / 369.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1233, allocations: 72.88 kB / 369.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.1235, allocations: 85.09 kB / 369.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1236, allocations: 38.5 kB / 369.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.1236, allocations: 0 / 369.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001438/0.125, allocations: 0.6236 MB / 369.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1251, allocations: 63.25 kB / 370 MB, free: 1.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.1255, allocations: 341.6 kB / 370.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1255, allocations: 29.7 kB / 370.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.1258, allocations: 306.9 kB / 370.6 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.1259, allocations: 71.03 kB / 370.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.126, allocations: 73.56 kB / 370.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1262, allocations: 350.7 kB / 371.1 MB, free: 424 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1263, allocations: 63.97 kB / 371.2 MB, free: 360 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.1266, allocations: 215.4 kB / 371.4 MB, free: 72 kB / 302.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.1524/0.279, allocations: 0.5138 MB / 371.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.279, allocations: 1.969 kB / 371.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006184/0.2796, allocations: 357.8 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2797, allocations: 7.875 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2797, allocations: 5.047 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2798, allocations: 35.42 kB / 372.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2801, allocations: 72.69 kB / 372.4 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.2812, allocations: 1.637 MB / 374 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.2814, allocations: 17.77 kB / 374 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2814, allocations: 17.66 kB / 374.1 MB, free: 18.28 MB / 302.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.0002112/0.2817, allocations: 182.2 kB / 374.2 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.2817, allocations: 40.62 kB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.2818, allocations: 37.86 kB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2818, allocations: 3 kB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2818, allocations: 1.531 kB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2818, allocations: 1.969 kB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.2827, allocations: 0.713 MB / 375 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.2827, allocations: 3.375 kB / 375 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2829, allocations: 35.73 kB / 375.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.283, allocations: 26.44 kB / 375.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.283, allocations: 9.594 kB / 375.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006842/0.2837, allocations: 1.427 MB / 376.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2837, allocations: 0 / 376.5 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.2842, allocations: 365.8 kB / 376.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.2843, allocations: 106.3 kB / 377 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.2843, allocations: 5.812 kB / 377 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2844, allocations: 11.45 kB / 377 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.2845, allocations: 22.78 kB / 377 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2845, allocations: 8.688 kB / 377 MB, free: 16.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.2848, allocations: 237.5 kB / 377.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2848, allocations: 0 / 377.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.2852, allocations: 67.78 kB / 377.3 MB, free: 15.9 MB / 302.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.000112/0.2854, allocations: 96.02 kB / 377.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.286, allocations: 322.9 kB / 377.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.286, allocations: 0 / 377.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.2862, allocations: 181.9 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2865, allocations: 46.5 kB / 378 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2879, allocations: 1.057 MB / 379 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2882, allocations: 0.8166 MB / 379.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.2883, allocations: 35.02 kB / 379.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2883, allocations: 1.375 kB / 379.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of Templates: time 0.01048/0.2988, allocations: 6.402 MB / 386.3 MB, free: 12.62 MB / 302.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/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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches