Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001505/0.001505, allocations: 111.3 kB / 17.78 MB, free: 5.133 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.001774/0.001774, allocations: 183.1 kB / 18.71 MB, free: 4.207 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.33/1.33, 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.1958/0.1958, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 55.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3234, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002709/0.3261, allocations: 1.646 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.3269, allocations: 451.3 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.3269, allocations: 1.438 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3272, allocations: 77.09 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.3274, allocations: 58.62 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3278, allocations: 172.7 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.328, allocations: 89.67 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3281, allocations: 18.38 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.3281, allocations: 38.41 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3283, allocations: 51.42 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3283, allocations: 3.781 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.3284, allocations: 51.39 kB / 0.521 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.3285, allocations: 30.89 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.3285, allocations: 32.11 kB / 0.5211 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3287, allocations: 126.3 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3287, allocations: 0 / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3287, allocations: 0 / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3288, allocations: 0 / 0.5212 GB, free: 1.547 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004538/0.3292, allocations: 427.5 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3293, allocations: 9.281 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.3293, allocations: 38.28 kB / 0.5217 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3293, allocations: 17.31 kB / 0.5217 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3295, allocations: 209.9 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3295, allocations: 2.719 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.3295, allocations: 3.516 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3297, allocations: 70.64 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3297, allocations: 0.5156 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3297, allocations: 1.188 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3297, allocations: 1.031 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3299, allocations: 50.77 kB / 0.522 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3303, allocations: 323.2 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3305, allocations: 63.55 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.3306, allocations: 34.61 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3307, allocations: 2.016 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.3307, allocations: 31.84 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3307, allocations: 0 / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001449/0.3321, allocations: 426.5 kB / 0.5228 GB, free: 268 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3322, allocations: 58.47 kB / 0.5229 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3324, allocations: 212 kB / 0.5231 GB, free: 64 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3324, allocations: 31.08 kB / 0.5231 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.3325, allocations: 101.1 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.3325, allocations: 43.69 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3326, allocations: 23.16 kB / 0.5233 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3327, allocations: 323.5 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3329, allocations: 59.45 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.333, allocations: 56.05 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.3333, allocations: 126.4 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3333, allocations: 1.094 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003444/0.3337, allocations: 166.8 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3337, allocations: 8.734 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3337, allocations: 0 / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3337, allocations: 5.062 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3338, allocations: 29.03 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3338, allocations: 1.281 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.3339, allocations: 9.984 kB / 0.524 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3339, allocations: 6.562 kB / 0.524 GB, free: 15.39 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 (11): * Single equations (assignments): 11 * 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.74e-05/0.334, allocations: 137.8 kB / 0.5242 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3341, allocations: 18.47 kB / 0.5242 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.3345, allocations: 183.8 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3345, allocations: 7.203 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3346, allocations: 0 / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3346, allocations: 4.641 kB / 0.5244 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.3353, allocations: 0.5001 MB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3353, allocations: 0 / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3354, allocations: 33.8 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3354, allocations: 1.797 kB / 0.5249 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3354, allocations: 6.344 kB / 0.5249 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3355, allocations: 1.797 kB / 0.5249 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3355, allocations: 1.188 kB / 0.5249 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.3358, allocations: 280.8 kB / 0.5252 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.3359, allocations: 86.44 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3359, allocations: 7.109 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.336, allocations: 7.812 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3361, allocations: 13.22 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3361, allocations: 7.594 kB / 0.5253 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3363, allocations: 164.7 kB / 0.5255 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3363, allocations: 0 / 0.5255 GB, free: 14.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3365, allocations: 23.56 kB / 0.5255 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001578/0.3381, allocations: 1.166 MB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3385, allocations: 130.6 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3385, allocations: 4 kB / 0.5267 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.3387, allocations: 69.88 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.3391, allocations: 17.77 kB / 0.5268 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.3418, allocations: 1.945 MB / 0.5287 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3422, allocations: 0.7137 MB / 0.5294 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.3423, allocations: 34.27 kB / 0.5295 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.3424, allocations: 43.94 kB / 0.5295 GB, free: 11.24 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3424, allocations: 0 / 0.5295 GB, free: 11.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.3622, allocations: 3.555 MB / 0.533 GB, free: 9.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.222, allocations: 14.7 kB / 0.533 GB, free: 9.379 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_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_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches