Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.8 kB / 17.78 MB, free: 5.262 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.001418/0.001418, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.231/0.231, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 60.84 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003455/0.3587, allocations: 1.55 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3604, allocations: 1.019 MB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.3605, allocations: 1.219 kB / 0.521 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.3608, allocations: 14.81 kB / 0.521 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3612, allocations: 50.02 kB / 0.521 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3616, allocations: 84.34 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3618, allocations: 60.16 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.362, allocations: 7.734 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.362, allocations: 31.06 kB / 0.5212 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3622, allocations: 21.19 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.3622, allocations: 7.25 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.3624, allocations: 51.11 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.3625, allocations: 12.03 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3625, allocations: 25.34 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3628, allocations: 84.98 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3628, allocations: 1.25 kB / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3628, allocations: 0 / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.3629, allocations: 0 / 0.5214 GB, free: 1.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004944/0.3634, allocations: 373.9 kB / 0.5218 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3634, allocations: 14.42 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.3635, allocations: 40.83 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3635, allocations: 7.516 kB / 0.5218 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.3637, allocations: 189.7 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3637, allocations: 6.125 kB / 0.522 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3638, allocations: 6.688 kB / 0.522 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3639, allocations: 65.56 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3639, allocations: 3.953 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.364, allocations: 1.312 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.364, allocations: 4 kB / 0.5221 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.3641, allocations: 26.05 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.3644, allocations: 269.7 kB / 0.5224 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3647, allocations: 43.72 kB / 0.5224 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.3647, allocations: 17.97 kB / 0.5224 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3648, allocations: 4 kB / 0.5224 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.3648, allocations: 33.42 kB / 0.5225 GB, free: 180 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3648, allocations: 0 / 0.5225 GB, free: 180 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005824/0.3654, allocations: 134 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3654, allocations: 79 kB / 0.5227 GB, free: 20 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3656, allocations: 144.7 kB / 0.5228 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3656, allocations: 25.7 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3657, allocations: 97.19 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3657, allocations: 10.06 kB / 0.5229 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.3658, allocations: 19.78 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3659, allocations: 323.1 kB / 0.5232 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.366, allocations: 18.77 kB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.3661, allocations: 38.8 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3662, allocations: 43.09 kB / 0.5233 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3662, allocations: 0 / 0.5233 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000194/0.3664, allocations: 81.27 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3665, allocations: 4.906 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3665, allocations: 1.094 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3665, allocations: 0 / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.3666, allocations: 16.31 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3666, allocations: 5.922 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.3666, allocations: 5.25 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3666, allocations: 13.3 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.3667, allocations: 115.1 kB / 0.5236 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.3668, allocations: 7.016 kB / 0.5236 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.367, allocations: 92.78 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.367, allocations: 5.141 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.367, allocations: 0 / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.367, allocations: 1.5 kB / 0.5237 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.3675, allocations: 346.3 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3675, allocations: 0 / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.3676, allocations: 12.97 kB / 0.524 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3676, allocations: 3.938 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3676, allocations: 5.062 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.3676, allocations: 5.812 kB / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3676, allocations: 0 / 0.524 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3678, allocations: 176.8 kB / 0.5242 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3679, allocations: 82.94 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3679, allocations: 5.344 kB / 0.5243 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.368, allocations: 9.25 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.368, allocations: 7.594 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3681, allocations: 2.859 kB / 0.5243 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.997e-05/0.3682, allocations: 102.5 kB / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 0.5244 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3684, allocations: 25.11 kB / 0.5244 GB, free: 14.44 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.3699, allocations: 1.049 MB / 0.5255 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3701, allocations: 53.84 kB / 0.5255 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3701, allocations: 4 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3702, allocations: 23.8 kB / 0.5255 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3706, allocations: 18.5 kB / 0.5255 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3721, allocations: 1.375 MB / 0.5269 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3724, allocations: 0.6907 MB / 0.5276 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.3725, allocations: 25.73 kB / 0.5276 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.3726, allocations: 24.05 kB / 0.5276 GB, free: 11.65 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3726, allocations: 0 / 0.5276 GB, free: 11.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3436/0.7162, allocations: 2.735 MB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.843, allocations: 13.31 kB / 0.5303 GB, free: 10.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches