Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001311/0.001311, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001228/0.001228, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.395/1.395, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2325/0.2325, allocations: 44.2 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3623, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002981/0.3653, allocations: 1.573 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.3661, allocations: 434.9 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.3662, allocations: 0.9688 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3664, allocations: 20.72 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.3666, allocations: 34.48 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.3669, allocations: 112 kB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3671, allocations: 65 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.3672, allocations: 13.86 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.3672, allocations: 23.5 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.3673, allocations: 27.16 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.3673, allocations: 4.062 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.3674, allocations: 51.69 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.3675, allocations: 13.61 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3675, allocations: 26.05 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3678, allocations: 93.55 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3678, allocations: 1.406 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3678, allocations: 0 / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3678, allocations: 3.938 kB / 0.5209 GB, free: 1.691 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.0004153/0.3682, allocations: 384.2 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3683, allocations: 9.312 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.3683, allocations: 36.61 kB / 0.5213 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.3683, allocations: 7.797 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3685, allocations: 196 kB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3685, allocations: 5.75 kB / 0.5215 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.3685, allocations: 6.297 kB / 0.5215 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3687, allocations: 62.62 kB / 0.5215 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3687, allocations: 3.938 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3687, allocations: 1.219 kB / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3687, allocations: 0 / 0.5215 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.3688, allocations: 23.5 kB / 0.5216 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3692, allocations: 290.7 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3693, allocations: 60.19 kB / 0.5219 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.3694, allocations: 23.27 kB / 0.5219 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3694, allocations: 4.75 kB / 0.5219 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3695, allocations: 35.72 kB / 0.522 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3695, allocations: 1.188 kB / 0.522 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006234/0.3701, allocations: 169.9 kB / 0.5221 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3701, allocations: 78.3 kB / 0.5222 GB, free: 424 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3703, allocations: 139.6 kB / 0.5223 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.3703, allocations: 30.83 kB / 0.5224 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.3703, allocations: 93.88 kB / 0.5224 GB, free: 180 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3703, allocations: 23.47 kB / 0.5225 GB, free: 160 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3704, allocations: 25.48 kB / 0.5225 GB, free: 136 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3705, allocations: 324.1 kB / 0.5228 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3706, allocations: 30.58 kB / 0.5228 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3707, allocations: 40.98 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.3709, allocations: 79.2 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3709, allocations: 0 / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002296/0.3712, allocations: 103.5 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3712, allocations: 5.984 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3712, allocations: 0 / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3712, allocations: 1.688 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.3713, allocations: 17.33 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3714, allocations: 4 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.3714, allocations: 8.641 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3714, allocations: 2.766 kB / 0.5231 GB, free: 15.69 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 (8): * Single equations (assignments): 8 * 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 0.0001004/0.3715, allocations: 119.9 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3716, allocations: 8.703 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.3719, allocations: 122.9 kB / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3719, allocations: 1.062 kB / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3719, allocations: 4.562 kB / 0.5233 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.3719, allocations: 5.578 kB / 0.5233 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.3724, allocations: 378.7 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3725, allocations: 1.156 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.3725, allocations: 18.8 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.3725, allocations: 3.938 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.3726, allocations: 1.578 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3726, allocations: 1.125 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3726, allocations: 4.516 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.3729, allocations: 201.9 kB / 0.5239 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3729, allocations: 84.7 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.373, allocations: 3.938 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.373, allocations: 10.39 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3731, allocations: 8.812 kB / 0.524 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3731, allocations: 9.438 kB / 0.524 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.668e-05/0.3732, allocations: 108.1 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3732, allocations: 0 / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3735, allocations: 23.59 kB / 0.5242 GB, free: 14.77 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 (7): * Single equations (assignments): 7 * 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.00214/0.3756, allocations: 1.074 MB / 0.5252 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3759, allocations: 69.95 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3759, allocations: 5.312 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.376, allocations: 37.97 kB / 0.5253 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.3764, allocations: 18.92 kB / 0.5253 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3783, allocations: 1.489 MB / 0.5268 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3787, allocations: 0.6987 MB / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.875e-05/0.3788, allocations: 20.34 kB / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.3789, allocations: 23.86 kB / 0.5275 GB, free: 11.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3789, allocations: 0 / 0.5275 GB, free: 11.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.4039, allocations: 3.038 MB / 0.5305 GB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.355, allocations: 8.109 kB / 0.5305 GB, free: 10.61 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches