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.001441/0.001441, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001603/0.001603, allocations: 191 kB / 18 MB, free: 5.207 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.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 47.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2639, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004379/0.2683, allocations: 3.056 MB / 403.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.27, allocations: 0.9747 MB / 404.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.2704, allocations: 7.938 kB / 404.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.2707, allocations: 99.05 kB / 404.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.271, allocations: 91.03 kB / 404.9 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.2716, allocations: 219.6 kB / 405.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.2722, allocations: 0.5488 MB / 405.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2726, allocations: 226.7 kB / 405.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.2728, allocations: 175.2 kB / 406.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.273, allocations: 182.9 kB / 406.3 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.2731, allocations: 36 kB / 406.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2732, allocations: 51.98 kB / 406.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.2733, allocations: 83.64 kB / 406.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.2735, allocations: 230.7 kB / 406.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.274, allocations: 0.5809 MB / 407.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.274, allocations: 4 kB / 407.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.274, allocations: 0 / 407.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.274, allocations: 0 / 407.2 MB, free: 2.309 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.0009407/0.275, allocations: 0.7328 MB / 408 MB, free: 1.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.275, allocations: 15.88 kB / 408 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.2751, allocations: 60.03 kB / 408 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.2757, allocations: 418.3 kB / 408.5 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2757, allocations: 33 kB / 408.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2758, allocations: 43.91 kB / 408.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.2765, allocations: 487.4 kB / 409 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2765, allocations: 4 kB / 409 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2765, allocations: 16 kB / 409 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2766, allocations: 12 kB / 409 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.277, allocations: 254.1 kB / 409.3 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.2792, allocations: 2.815 MB / 412.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.2796, allocations: 170.6 kB / 412.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.2798, allocations: 68.84 kB / 412.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2799, allocations: 89.09 kB / 412.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2799, allocations: 34.5 kB / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.2799, allocations: 0 / 412.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001202/0.2811, allocations: 0.6199 MB / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.2812, allocations: 59.31 kB / 413.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.2815, allocations: 345.7 kB / 413.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2815, allocations: 29.7 kB / 413.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.2817, allocations: 298.9 kB / 413.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.2818, allocations: 67.08 kB / 413.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.2818, allocations: 65.61 kB / 413.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.282, allocations: 350.7 kB / 414.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2821, allocations: 67.97 kB / 414.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.2824, allocations: 227.5 kB / 414.5 MB, free: 10.46 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.0008788/0.2833, allocations: 0.5058 MB / 415.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2833, allocations: 0 / 415.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005342/0.2838, allocations: 364.1 kB / 415.4 MB, free: 9.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2838, allocations: 8 kB / 415.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.2839, allocations: 4.688 kB / 415.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.284, allocations: 44.78 kB / 415.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.2842, allocations: 71.91 kB / 415.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.2856, allocations: 1.635 MB / 417.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.2858, allocations: 8 kB / 417.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2858, allocations: 20 kB / 417.2 MB, free: 7.574 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.0001752/0.286, allocations: 175.9 kB / 417.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.2861, allocations: 39.5 kB / 417.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.2862, allocations: 39.66 kB / 417.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2862, allocations: 4 kB / 417.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2862, allocations: 0 / 417.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2862, allocations: 3.984 kB / 417.5 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.2872, allocations: 0.7064 MB / 418.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2872, allocations: 0 / 418.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2874, allocations: 35.97 kB / 418.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-05/0.2875, allocations: 32.83 kB / 418.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2875, allocations: 7.922 kB / 418.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.2885, allocations: 1.434 MB / 419.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2885, allocations: 0 / 419.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.289, allocations: 357.3 kB / 420 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.2891, allocations: 108.6 kB / 420.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.2891, allocations: 4 kB / 420.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2892, allocations: 12.09 kB / 420.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.2893, allocations: 19.86 kB / 420.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2893, allocations: 4 kB / 420.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.2895, allocations: 231.2 kB / 420.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2895, allocations: 0 / 420.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.2899, allocations: 68 kB / 420.5 MB, free: 4.043 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 9.788e-05/0.29, allocations: 107.2 kB / 420.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.2906, allocations: 311.7 kB / 420.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2906, allocations: 0 / 420.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2908, allocations: 194.6 kB / 421.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2911, allocations: 29.56 kB / 421.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2923, allocations: 0.845 MB / 421.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2927, allocations: 0.8224 MB / 422.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.2928, allocations: 39.27 kB / 422.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.2929, allocations: 31.44 kB / 422.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2929, allocations: 3.938 kB / 422.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Templates: time 0.006535/0.2994, allocations: 2.759 MB / 425.6 MB, free: 14.84 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/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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches