Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001655/0.001655, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001762/0.001762, allocations: 188.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2419/0.2419, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 65.19 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 57.78 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002566/0.1189, allocations: 1.578 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005049/0.1195, allocations: 323.4 kB / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.1195, allocations: 0 / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.1198, allocations: 99.73 kB / 442.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.12, allocations: 67.78 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1202, allocations: 71.78 kB / 442.7 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.1203, allocations: 75.88 kB / 442.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1204, allocations: 24.17 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.1205, allocations: 35.84 kB / 442.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.1206, allocations: 55.77 kB / 442.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1206, allocations: 0 / 442.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.1207, allocations: 35.97 kB / 443 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.1207, allocations: 23.92 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1208, allocations: 27.75 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.121, allocations: 103.7 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.121, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.121, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.121, allocations: 7.938 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004241/0.1214, allocations: 411 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1215, allocations: 11.89 kB / 443.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1215, allocations: 42.67 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1216, allocations: 16.75 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1217, allocations: 196.1 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1217, allocations: 384 / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1218, allocations: 8.125 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1219, allocations: 57.67 kB / 443.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1219, allocations: 7.906 kB / 443.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1219, allocations: 3.984 kB / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.122, allocations: 0 / 443.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1221, allocations: 35.92 kB / 443.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.1224, allocations: 296.8 kB / 444.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.1225, allocations: 50.56 kB / 444.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.1226, allocations: 24.91 kB / 444.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1226, allocations: 4 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1226, allocations: 34.5 kB / 444.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.1226, allocations: 0 / 444.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006047/0.1232, allocations: 197.1 kB / 444.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1233, allocations: 55.41 kB / 444.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1235, allocations: 231.5 kB / 444.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1235, allocations: 29.7 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.1235, allocations: 104.1 kB / 444.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1236, allocations: 27.56 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1236, allocations: 17.72 kB / 444.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.1237, allocations: 334.8 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.1238, allocations: 23.97 kB / 445.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.1238, allocations: 23.98 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.124, allocations: 60.83 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.124, allocations: 0 / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001853/0.1242, allocations: 97.52 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1242, allocations: 12 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1242, allocations: 0 / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1242, allocations: 0 / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1244, allocations: 15.98 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1244, allocations: 7.938 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.1244, allocations: 3.984 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1244, allocations: 4 kB / 445.5 MB, free: 1.637 MB / 318.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 8.377e-05/0.1245, allocations: 133.8 kB / 445.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1246, allocations: 11.81 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.1248, allocations: 135.2 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1248, allocations: 0 / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1249, allocations: 3.938 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1249, allocations: 4 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1253, allocations: 394.5 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1253, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.1253, allocations: 16 kB / 446.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1253, allocations: 3.938 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1254, allocations: 7.984 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1254, allocations: 384 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1254, allocations: 0 / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1256, allocations: 195.3 kB / 446.4 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.1256, allocations: 92.94 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1257, allocations: 4 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.1257, allocations: 4 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.1258, allocations: 11.98 kB / 446.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1258, allocations: 11.88 kB / 446.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1259, allocations: 167.2 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1259, allocations: 0 / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1262, allocations: 19.98 kB / 446.7 MB, free: 348 kB / 318.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.001487/0.1277, allocations: 1.033 MB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1279, allocations: 63.89 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.128, allocations: 8 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1281, allocations: 31.98 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1285, allocations: 21.95 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1302, allocations: 1.671 MB / 449.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1305, allocations: 0.7054 MB / 450.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.1306, allocations: 20.95 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.1307, allocations: 39.42 kB / 450.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1307, allocations: 7.938 kB / 450.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1532, allocations: 2.922 MB / 453.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.668, allocations: 7.984 kB / 453.2 MB, free: 9.75 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches