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.001173/0.001173, allocations: 111.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.001217/0.001217, 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2109/0.2109, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002583/0.3696, allocations: 1.568 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.3704, allocations: 433.6 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.3704, allocations: 0 / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.3706, allocations: 28.14 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3708, allocations: 34.09 kB / 0.5204 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3711, allocations: 117.2 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3713, allocations: 53.28 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.3714, allocations: 17.16 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.3714, allocations: 27.67 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.3715, allocations: 27.5 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3715, allocations: 4.344 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3716, allocations: 47.06 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.3717, allocations: 18.03 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.3717, allocations: 20.92 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3719, allocations: 95.27 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3719, allocations: 4 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3719, allocations: 3.938 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3719, allocations: 5.375 kB / 0.5209 GB, free: 1.688 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.0003555/0.3723, allocations: 381.2 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3723, allocations: 10.89 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.28e-05/0.3724, allocations: 32.94 kB / 0.5213 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3724, allocations: 8.016 kB / 0.5213 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3726, allocations: 190.1 kB / 0.5215 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3726, allocations: 6.188 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3726, allocations: 10.47 kB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3727, allocations: 61.33 kB / 0.5215 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3728, allocations: 1.469 kB / 0.5215 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3728, allocations: 4 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3728, allocations: 1.531 kB / 0.5215 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.3729, allocations: 22.86 kB / 0.5216 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.3732, allocations: 290.6 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3733, allocations: 56.31 kB / 0.5219 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.3734, allocations: 22.5 kB / 0.5219 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3734, allocations: 2.172 kB / 0.5219 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3734, allocations: 39.78 kB / 0.522 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3735, allocations: 4 kB / 0.522 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000587/0.374, allocations: 174.3 kB / 0.5221 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.3741, allocations: 77.62 kB / 0.5222 GB, free: 428 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3742, allocations: 137.8 kB / 0.5223 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3742, allocations: 30.98 kB / 0.5224 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.3743, allocations: 88.56 kB / 0.5224 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3743, allocations: 29 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.3743, allocations: 21.98 kB / 0.5225 GB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3744, allocations: 323.7 kB / 0.5228 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.3745, allocations: 25.39 kB / 0.5228 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.465e-05/0.3746, allocations: 44.38 kB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3748, allocations: 79.81 kB / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3748, allocations: 0 / 0.5229 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.3751, allocations: 108.4 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3751, allocations: 5.344 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3751, allocations: 0 / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3751, allocations: 1.938 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3752, allocations: 16.53 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3752, allocations: 0 / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.3753, allocations: 14.69 kB / 0.5231 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3753, allocations: 1.156 kB / 0.5231 GB, free: 15.7 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.0001198/0.3754, allocations: 120.7 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.3755, allocations: 7.297 kB / 0.5232 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3758, allocations: 120.1 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3758, allocations: 1.094 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3758, allocations: 1.094 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3758, allocations: 4.688 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.3763, allocations: 387.6 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.3763, allocations: 0 / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.3764, allocations: 18.88 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3764, allocations: 5.406 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3764, allocations: 0.6562 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3764, allocations: 1.5 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3764, allocations: 3.938 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3767, allocations: 197.9 kB / 0.5239 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.3768, allocations: 84.84 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3768, allocations: 3.938 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3769, allocations: 5.406 kB / 0.524 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3769, allocations: 12.88 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3769, allocations: 6.25 kB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.377, allocations: 114.8 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.377, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3773, allocations: 23.19 kB / 0.5242 GB, free: 14.78 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.001431/0.3787, allocations: 1.075 MB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.379, allocations: 70.06 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.379, allocations: 1.375 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.3791, allocations: 38.45 kB / 0.5253 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3795, allocations: 24.72 kB / 0.5253 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.381, allocations: 1.482 MB / 0.5268 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3813, allocations: 0.6953 MB / 0.5275 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.335e-05/0.3814, allocations: 27.38 kB / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.3815, allocations: 24.66 kB / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3815, allocations: 1.344 kB / 0.5275 GB, free: 11.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.4, allocations: 3.037 MB / 0.5305 GB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.066, allocations: 4.625 kB / 0.5305 GB, free: 10.62 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