Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001296, allocations: 179.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008543/0.0008542, allocations: 82.44 kB / 272.1 MB, free: 8.152 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002506, allocations: 4 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2568, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002719/0.2596, allocations: 2.592 MB / 379.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2612, allocations: 1.331 MB / 380.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.2615, allocations: 11.12 kB / 380.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.2617, allocations: 74.05 kB / 380.6 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.2619, allocations: 85.88 kB / 380.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2624, allocations: 182 kB / 380.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.263, allocations: 0.5181 MB / 381.4 MB, free: 41.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.2633, allocations: 202.2 kB / 381.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.2636, allocations: 136.5 kB / 381.7 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.2638, allocations: 153 kB / 381.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.2638, allocations: 14.25 kB / 381.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2639, allocations: 19.88 kB / 381.9 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.264, allocations: 64.77 kB / 382 MB, free: 41.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.2643, allocations: 219.8 kB / 382.2 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.2648, allocations: 0.497 MB / 382.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2648, allocations: 0.7188 kB / 382.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2648, allocations: 0 / 382.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2648, allocations: 1.031 kB / 382.7 MB, free: 40.81 MB / 298.7 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.0009127/0.2657, allocations: 0.6498 MB / 383.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2658, allocations: 8.688 kB / 383.3 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.604e-05/0.2659, allocations: 59.28 kB / 383.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.2664, allocations: 406.7 kB / 383.8 MB, free: 39.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2664, allocations: 29.34 kB / 383.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.2665, allocations: 42.02 kB / 383.8 MB, free: 39.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.2671, allocations: 493.9 kB / 384.3 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2672, allocations: 1.531 kB / 384.3 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.2672, allocations: 21.22 kB / 384.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.2672, allocations: 11.97 kB / 384.4 MB, free: 39.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.2677, allocations: 251.9 kB / 384.6 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.2695, allocations: 2.827 MB / 387.4 MB, free: 36.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.27, allocations: 162.9 kB / 387.6 MB, free: 36.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2702, allocations: 76.69 kB / 387.7 MB, free: 36.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.2704, allocations: 84.86 kB / 387.8 MB, free: 36.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2705, allocations: 44.66 kB / 387.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.2705, allocations: 0 / 387.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001327/0.2718, allocations: 0.6355 MB / 388.4 MB, free: 35.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.2718, allocations: 54.44 kB / 388.5 MB, free: 35.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.2722, allocations: 333.8 kB / 388.8 MB, free: 35.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2723, allocations: 30.8 kB / 388.8 MB, free: 35.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.2724, allocations: 308.7 kB / 389.1 MB, free: 35.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.2725, allocations: 64.45 kB / 389.2 MB, free: 35.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2725, allocations: 5.062 kB / 389.2 MB, free: 35.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2726, allocations: 351.4 kB / 389.6 MB, free: 34.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2728, allocations: 71.7 kB / 389.6 MB, free: 34.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.273, allocations: 221.9 kB / 389.8 MB, free: 34.5 MB / 298.7 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.00102/0.2741, allocations: 0.5232 MB / 390.4 MB, free: 34.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2741, allocations: 0 / 390.4 MB, free: 34.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005108/0.2746, allocations: 365.9 kB / 390.7 MB, free: 33.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2746, allocations: 8 kB / 390.7 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2746, allocations: 4 kB / 390.7 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.2748, allocations: 32.84 kB / 390.8 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.275, allocations: 75.91 kB / 390.8 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.276, allocations: 1.468 MB / 392.3 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2762, allocations: 23.92 kB / 392.3 MB, free: 31.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2763, allocations: 28.06 kB / 392.4 MB, free: 31.88 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0001602/0.2764, allocations: 165.7 kB / 392.5 MB, free: 31.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.2765, allocations: 39.52 kB / 392.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.2765, allocations: 43.47 kB / 392.6 MB, free: 31.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2765, allocations: 4 kB / 392.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2766, allocations: 0 / 392.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2766, allocations: 0 / 392.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.2773, allocations: 0.7102 MB / 393.3 MB, free: 30.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2773, allocations: 0 / 393.3 MB, free: 30.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.2775, allocations: 31.98 kB / 393.3 MB, free: 30.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.285e-05/0.2776, allocations: 28.78 kB / 393.4 MB, free: 30.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2776, allocations: 4 kB / 393.4 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005878/0.2782, allocations: 1.331 MB / 394.7 MB, free: 29.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2782, allocations: 7.875 kB / 394.7 MB, free: 29.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.2786, allocations: 369.2 kB / 395.1 MB, free: 28.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2787, allocations: 112.6 kB / 395.2 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.2787, allocations: 0 / 395.2 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2788, allocations: 16 kB / 395.2 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.2789, allocations: 11.92 kB / 395.2 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2789, allocations: 11.98 kB / 395.2 MB, free: 28.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.2791, allocations: 231.2 kB / 395.5 MB, free: 28.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2791, allocations: 0 / 395.5 MB, free: 28.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.2795, allocations: 68 kB / 395.5 MB, free: 28.46 MB / 298.7 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.0001157/0.2796, allocations: 103.2 kB / 395.6 MB, free: 28.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004755/0.2801, allocations: 325.6 kB / 395.9 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2801, allocations: 0 / 395.9 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2803, allocations: 182.6 kB / 396.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2806, allocations: 45.42 kB / 396.2 MB, free: 27.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2819, allocations: 1.086 MB / 397.2 MB, free: 26.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2821, allocations: 0.8184 MB / 398.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.2822, allocations: 43.25 kB / 398.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.2823, allocations: 31.42 kB / 398.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2823, allocations: 3.938 kB / 398.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of Templates: time 0.005563/0.2879, allocations: 2.546 MB / 400.7 MB, free: 23.21 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches