Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001632/0.001632, allocations: 112.8 kB / 17.77 MB, free: 5.387 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.001547/0.001547, allocations: 180.9 kB / 18.7 MB, free: 4.469 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.41/1.41, 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.2232/0.2232, allocations: 44.2 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3659, allocations: 60.81 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002901/0.3689, allocations: 1.644 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.3697, allocations: 424.6 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.3697, allocations: 1.469 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.3701, allocations: 63.97 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.3704, allocations: 66.53 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3708, allocations: 132 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.371, allocations: 79.62 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3712, allocations: 19.31 kB / 0.5208 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.3712, allocations: 37.89 kB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3714, allocations: 49.7 kB / 0.5209 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3714, allocations: 8.469 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3715, allocations: 50.84 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3716, allocations: 29.86 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.3717, allocations: 32.39 kB / 0.521 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3719, allocations: 111 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3719, allocations: 0 / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3719, allocations: 0 / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3719, allocations: 1.406 kB / 0.5211 GB, free: 1.582 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.0005045/0.3724, allocations: 433.5 kB / 0.5215 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.3725, allocations: 13.5 kB / 0.5215 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.3725, allocations: 32.95 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3726, allocations: 14.28 kB / 0.5216 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3728, allocations: 196.9 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3728, allocations: 5.812 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.3728, allocations: 3.406 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.373, allocations: 72.17 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.373, allocations: 4 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.373, allocations: 5.094 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3731, allocations: 9.969 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3732, allocations: 34.22 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.3736, allocations: 316.3 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3738, allocations: 57.81 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.244e-05/0.3739, allocations: 28.09 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3739, allocations: 2.094 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.374, allocations: 32.16 kB / 0.5223 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.374, allocations: 0 / 0.5223 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.3754, allocations: 386.8 kB / 0.5227 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.3754, allocations: 61.44 kB / 0.5227 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3756, allocations: 210.7 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3757, allocations: 27.08 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.3757, allocations: 109.3 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3758, allocations: 35.56 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.3758, allocations: 22.44 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.376, allocations: 326.7 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3762, allocations: 43.98 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3763, allocations: 43.83 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3766, allocations: 93.12 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3766, allocations: 1.469 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00034/0.3769, allocations: 155.3 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.377, allocations: 5.344 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.377, allocations: 0 / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.377, allocations: 3.938 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3771, allocations: 26.97 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3771, allocations: 1.219 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.3772, allocations: 8.766 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3772, allocations: 7.5 kB / 0.5238 GB, free: 15.46 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 0.0001258/0.3774, allocations: 127.8 kB / 0.5239 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.3774, allocations: 14.06 kB / 0.524 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.3778, allocations: 177.7 kB / 0.5241 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3778, allocations: 6.281 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3779, allocations: 0 / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3779, allocations: 10.48 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.3786, allocations: 473.7 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3786, allocations: 0 / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3787, allocations: 26.55 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.3787, allocations: 5.406 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3788, allocations: 2.281 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3788, allocations: 2.047 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3788, allocations: 0 / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.3792, allocations: 258.2 kB / 0.5249 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.3793, allocations: 90.62 kB / 0.525 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3793, allocations: 6.359 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3794, allocations: 14.48 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3795, allocations: 8.562 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3795, allocations: 2.484 kB / 0.525 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3796, allocations: 164 kB / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3796, allocations: 0 / 0.5251 GB, free: 14.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3799, allocations: 31.22 kB / 0.5252 GB, free: 14.43 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.002317/0.3822, allocations: 1.14 MB / 0.5263 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.3826, allocations: 107.4 kB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3826, allocations: 0 / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3828, allocations: 60.36 kB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3832, allocations: 22.42 kB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3857, allocations: 1.838 MB / 0.5283 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3862, allocations: 0.7156 MB / 0.529 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.3863, allocations: 15.75 kB / 0.529 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3864, allocations: 39.44 kB / 0.529 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3864, allocations: 1.562 kB / 0.529 GB, free: 11.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.413, allocations: 3.415 MB / 0.5324 GB, free: 9.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.294, allocations: 10.45 kB / 0.5324 GB, free: 9.707 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches