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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001696, allocations: 180.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 90.19 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002426, allocations: 7.938 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2309, allocations: 50.39 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09573/0.3267, allocations: 80.11 MB / 481.6 MB, free: 404 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.3269, allocations: 79.94 kB / 481.7 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01854/0.3455, allocations: 7.898 MB / 489.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3455, allocations: 0 / 489.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.005e-05/0.3455, allocations: 16 kB / 489.6 MB, free: 8.289 MB / 362.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.000828/0.3464, allocations: 0.6545 MB / 490.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3464, allocations: 16.03 kB / 490.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.3465, allocations: 51.34 kB / 490.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.347, allocations: 363.8 kB / 490.7 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.347, allocations: 29 kB / 490.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.3471, allocations: 47.91 kB / 490.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/0.3478, allocations: 483.7 kB / 491.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3479, allocations: 11.94 kB / 491.2 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.3479, allocations: 16 kB / 491.2 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3479, allocations: 15.95 kB / 491.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004628/0.3484, allocations: 246.2 kB / 491.5 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.3506, allocations: 2.789 MB / 494.3 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.351, allocations: 170.5 kB / 494.5 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.3512, allocations: 81.11 kB / 494.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3512, allocations: 38.56 kB / 494.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.3513, allocations: 0 / 494.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0012/0.3525, allocations: 0.6366 MB / 495.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.3525, allocations: 55.41 kB / 495.3 MB, free: 2.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3528, allocations: 300.7 kB / 495.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3529, allocations: 33.7 kB / 495.6 MB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3531, allocations: 302.9 kB / 495.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.3531, allocations: 63.09 kB / 495.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.3531, allocations: 8 kB / 496 MB, free: 1.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3533, allocations: 346.8 kB / 496.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3534, allocations: 67.97 kB / 496.4 MB, free: 1.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3537, allocations: 219.8 kB / 496.6 MB, free: 0.793 MB / 362.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: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.3543, allocations: 277.8 kB / 496.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3543, allocations: 0 / 496.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005742/0.3549, allocations: 364.7 kB / 497.2 MB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3549, allocations: 8 kB / 497.2 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3549, allocations: 7.938 kB / 497.2 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.3551, allocations: 32.84 kB / 497.2 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3553, allocations: 83.83 kB / 497.3 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3566, allocations: 1.464 MB / 498.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3568, allocations: 23.89 kB / 498.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3569, allocations: 19.95 kB / 498.8 MB, free: 14.37 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.3571, allocations: 173.7 kB / 499 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.3571, allocations: 31.62 kB / 499 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.3572, allocations: 43.58 kB / 499.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3572, allocations: 0 / 499.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3572, allocations: 4 kB / 499.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3572, allocations: 0 / 499.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.3582, allocations: 0.6595 MB / 499.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3582, allocations: 4 kB / 499.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.3584, allocations: 39.92 kB / 499.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.618e-05/0.3585, allocations: 28.78 kB / 499.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3585, allocations: 4 kB / 499.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008956/0.3594, allocations: 1.327 MB / 0.4894 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3594, allocations: 0 / 0.4894 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3599, allocations: 378.3 kB / 0.4898 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.36, allocations: 108.6 kB / 0.4899 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.36, allocations: 8.031 kB / 0.4899 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3602, allocations: 12 kB / 0.4899 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3602, allocations: 11.98 kB / 0.4899 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3602, allocations: 8 kB / 0.4899 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.3605, allocations: 235.1 kB / 0.4901 GB, free: 11.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3605, allocations: 4 kB / 0.4901 GB, free: 11.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.3609, allocations: 75.98 kB / 0.4902 GB, free: 10.99 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.361, allocations: 107.2 kB / 0.4903 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005208/0.3616, allocations: 299.8 kB / 0.4906 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3616, allocations: 0 / 0.4906 GB, free: 10.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.3618, allocations: 198.5 kB / 0.4908 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3621, allocations: 33.55 kB / 0.4908 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3635, allocations: 1.028 MB / 0.4918 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3639, allocations: 0.8343 MB / 0.4926 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.364, allocations: 35.27 kB / 0.4927 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.3641, allocations: 35.42 kB / 0.4927 GB, free: 8.336 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.3641, allocations: 0 / 0.4927 GB, free: 8.336 MB / 378.7 MB Notification: Performance of Templates: time 0.005961/0.3701, allocations: 2.456 MB / 0.4951 GB, free: 5.902 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches