Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001296/0.001296, 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.001217/0.001217, 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2409/0.2409, allocations: 44.2 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3688, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002511/0.3714, allocations: 1.588 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.372, allocations: 409.8 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.3721, allocations: 1.062 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.3723, allocations: 64.55 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3726, allocations: 65.83 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3728, allocations: 88.17 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.373, allocations: 71.58 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3731, allocations: 14.81 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.3732, allocations: 36.05 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.278e-05/0.3733, allocations: 47.36 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3733, allocations: 3.094 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.3734, allocations: 43.7 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3734, allocations: 17.62 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3735, allocations: 30.78 kB / 0.5209 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.3737, allocations: 96.72 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3737, allocations: 0.75 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3737, allocations: 0 / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.3737, allocations: 1.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003928/0.3741, allocations: 402 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3741, allocations: 9.062 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.3741, allocations: 36.58 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3742, allocations: 17.59 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3743, allocations: 196.4 kB / 0.5216 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3743, allocations: 6.75 kB / 0.5216 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3744, allocations: 6.125 kB / 0.5216 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3745, allocations: 56.56 kB / 0.5216 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3745, allocations: 1.281 kB / 0.5216 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.3745, allocations: 3.938 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3746, allocations: 2.062 kB / 0.5216 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.3747, allocations: 24.3 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.3749, allocations: 292.1 kB / 0.522 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3751, allocations: 47.23 kB / 0.522 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.3751, allocations: 14.83 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3751, allocations: 2.016 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3752, allocations: 39.88 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3752, allocations: 0 / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008322/0.376, allocations: 219 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.376, allocations: 57.2 kB / 0.5223 GB, free: 436 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.3762, allocations: 194.1 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.3762, allocations: 27.05 kB / 0.5225 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.3763, allocations: 103.3 kB / 0.5226 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.3763, allocations: 25.94 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.3763, allocations: 20.34 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3764, allocations: 321.5 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.3765, allocations: 30.22 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.3766, allocations: 27.2 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3768, allocations: 63.5 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3768, allocations: 0 / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002113/0.377, allocations: 101.4 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.377, allocations: 5.562 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.377, allocations: 0 / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.377, allocations: 5.047 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3771, allocations: 25.48 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3772, allocations: 4.781 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.3772, allocations: 9.297 kB / 0.5232 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3773, allocations: 2.062 kB / 0.5232 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.0001215/0.3774, allocations: 125.2 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.3774, allocations: 13.22 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.3777, allocations: 112.6 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3777, allocations: 5.969 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3778, allocations: 3.938 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3778, allocations: 2.078 kB / 0.5235 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.3783, allocations: 401.9 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3783, allocations: 3.938 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.3784, allocations: 21.89 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3784, allocations: 0.6562 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3784, allocations: 5.562 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3784, allocations: 2.266 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3784, allocations: 0 / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3787, allocations: 207 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.3787, allocations: 87.77 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3788, allocations: 1.891 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.3788, allocations: 13.3 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3789, allocations: 6.344 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3789, allocations: 6.406 kB / 0.5242 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.379, allocations: 147.2 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.379, allocations: 0 / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.3793, allocations: 20.06 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001408/0.3807, allocations: 1.103 MB / 0.5254 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3809, allocations: 64.22 kB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.381, allocations: 0 / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.3811, allocations: 38.8 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3814, allocations: 22.38 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3832, allocations: 1.6 MB / 0.5271 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.3835, allocations: 0.6999 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.881e-05/0.3835, allocations: 17.62 kB / 0.5278 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.3836, allocations: 37.61 kB / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3836, allocations: 0 / 0.5279 GB, free: 11.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.4031, allocations: 2.96 MB / 0.5308 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.196, allocations: 4.781 kB / 0.5308 GB, free: 10.59 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches