Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001784/0.001784, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001979/0.001979, allocations: 180.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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2201/0.2201, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00258/0.3239, allocations: 1.581 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006837/0.3246, allocations: 412.8 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.3247, allocations: 1.25 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3249, allocations: 19.94 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3251, allocations: 38.94 kB / 0.5204 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3254, allocations: 94.11 kB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3255, allocations: 59.03 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.3256, allocations: 16.22 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.3257, allocations: 24.58 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.3257, allocations: 23.7 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.3258, allocations: 4.625 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3259, allocations: 51.66 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.3259, allocations: 21.81 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.326, allocations: 26.8 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3262, allocations: 96.12 kB / 0.5208 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3262, allocations: 3.938 kB / 0.5208 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3262, allocations: 1.125 kB / 0.5208 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3262, allocations: 0 / 0.5208 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000417/0.3266, allocations: 390.4 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3267, allocations: 8.844 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.3267, allocations: 32.55 kB / 0.5213 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3267, allocations: 8.922 kB / 0.5213 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3269, allocations: 203.9 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.3269, allocations: 6.594 kB / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.327, allocations: 6.219 kB / 0.5215 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.3271, allocations: 64.64 kB / 0.5215 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3271, allocations: 0 / 0.5215 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3271, allocations: 1.312 kB / 0.5215 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3272, allocations: 0 / 0.5215 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3273, allocations: 30.95 kB / 0.5216 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3276, allocations: 293.8 kB / 0.5218 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3277, allocations: 53.56 kB / 0.5219 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.3278, allocations: 28.16 kB / 0.5219 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3278, allocations: 1.672 kB / 0.5219 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.3278, allocations: 36.16 kB / 0.522 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3279, allocations: 0 / 0.522 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005764/0.3284, allocations: 184.2 kB / 0.5221 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3285, allocations: 83.17 kB / 0.5222 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3286, allocations: 146 kB / 0.5224 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3286, allocations: 26.8 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.3286, allocations: 99.8 kB / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3287, allocations: 29.31 kB / 0.5225 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3287, allocations: 23.5 kB / 0.5225 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3288, allocations: 323.8 kB / 0.5228 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.3289, allocations: 27.75 kB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.329, allocations: 44.41 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3292, allocations: 81.11 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3293, allocations: 3.938 kB / 0.523 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002356/0.3295, allocations: 107.3 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3295, allocations: 5.891 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3295, allocations: 0 / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3296, allocations: 1.25 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3297, allocations: 22.42 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3297, allocations: 4.656 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.3297, allocations: 9.578 kB / 0.5231 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3297, allocations: 6.859 kB / 0.5231 GB, free: 15.65 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 (9): * Single equations (assignments): 9 * 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 9.43e-05/0.3298, allocations: 115.7 kB / 0.5232 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.3299, allocations: 12.48 kB / 0.5233 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3302, allocations: 112.9 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3302, allocations: 4.969 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3302, allocations: 5.062 kB / 0.5234 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3302, allocations: 4.594 kB / 0.5234 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.3307, allocations: 385.2 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3308, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.3308, allocations: 24.98 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3308, allocations: 5.188 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3309, allocations: 0.7031 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3309, allocations: 5.344 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3309, allocations: 0 / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.3312, allocations: 195.5 kB / 0.524 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.3312, allocations: 82.36 kB / 0.524 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3312, allocations: 3.938 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3313, allocations: 8.969 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3314, allocations: 9.047 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3314, allocations: 6.031 kB / 0.5241 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.3315, allocations: 116 kB / 0.5242 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3315, allocations: 0 / 0.5242 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3318, allocations: 31.72 kB / 0.5242 GB, free: 14.74 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 (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 Backend phase and start with SimCode phase: time 0.002029/0.3338, allocations: 1.082 MB / 0.5253 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.3341, allocations: 72.61 kB / 0.5253 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3341, allocations: 4 kB / 0.5253 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.3342, allocations: 32.2 kB / 0.5254 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3345, allocations: 18.27 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3363, allocations: 1.514 MB / 0.5269 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3366, allocations: 0.695 MB / 0.5275 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.3367, allocations: 25.69 kB / 0.5276 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.3368, allocations: 26.53 kB / 0.5276 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3368, allocations: 0 / 0.5276 GB, free: 11.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.3619, allocations: 3.097 MB / 0.5306 GB, free: 10.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.46, allocations: 4.125 kB / 0.5306 GB, free: 10.53 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches