Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001618/0.001618, allocations: 106.4 kB / 16.27 MB, free: 6.34 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.001424/0.001424, allocations: 187.2 kB / 17.19 MB, free: 5.957 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.521/1.521, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.208/0.208, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.003174/0.003174, allocations: 67.62 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1228, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002896/0.1257, allocations: 1.566 MB / 442.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005765/0.1263, allocations: 343.5 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.1264, allocations: 7.938 kB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1266, allocations: 27.84 kB / 442.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1268, allocations: 35.84 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.127, allocations: 95.69 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1272, allocations: 55.89 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1273, allocations: 12.17 kB / 442.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.457e-05/0.1274, allocations: 19.88 kB / 442.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/0.1274, allocations: 27.86 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1275, allocations: 4 kB / 442.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1276, allocations: 63.89 kB / 442.9 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1276, allocations: 8 kB / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1277, allocations: 23.86 kB / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.1278, allocations: 87.77 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1279, allocations: 4 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1279, allocations: 0 / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1279, allocations: 0 / 443 MB, free: 4.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004698/0.1284, allocations: 387.1 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1284, allocations: 15.89 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.1284, allocations: 34.75 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1285, allocations: 8.844 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1286, allocations: 188.2 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1287, allocations: 384 / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1287, allocations: 8.125 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1288, allocations: 67.39 kB / 443.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1289, allocations: 0 / 443.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1289, allocations: 4 kB / 443.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1289, allocations: 3.938 kB / 443.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.378e-05/0.129, allocations: 35.91 kB / 443.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.1293, allocations: 280.9 kB / 444 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.1294, allocations: 46.53 kB / 444 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1295, allocations: 16.86 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1295, allocations: 4 kB / 444.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1295, allocations: 42.58 kB / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1295, allocations: 0 / 444.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005422/0.1301, allocations: 153.3 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1301, allocations: 85.03 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.1302, allocations: 133 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.1302, allocations: 33.7 kB / 444.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.1303, allocations: 92.06 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1303, allocations: 23.66 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.1303, allocations: 21.7 kB / 444.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.1304, allocations: 322.8 kB / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.1305, allocations: 23.97 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.1305, allocations: 41.77 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1307, allocations: 52.83 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1307, allocations: 0 / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001594/0.1308, allocations: 93.59 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1309, allocations: 4 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1309, allocations: 0 / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1309, allocations: 4 kB / 445.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.131, allocations: 16.02 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.131, allocations: 0 / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.131, allocations: 7.938 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.131, allocations: 4 kB / 445.2 MB, free: 1.98 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 (6): * Single equations (assignments): 6 * 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 6.45e-05/0.1311, allocations: 122.9 kB / 445.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1312, allocations: 7.906 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.1314, allocations: 110 kB / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1314, allocations: 0 / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1314, allocations: 0 / 445.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1314, allocations: 3.938 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1317, allocations: 358.8 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1318, allocations: 0 / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.1318, allocations: 23.92 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1318, allocations: 0 / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1318, allocations: 11.94 kB / 445.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1319, allocations: 4 kB / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1319, allocations: 0 / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.132, allocations: 175.5 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.1321, allocations: 96.94 kB / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1321, allocations: 3.938 kB / 446.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.1322, allocations: 4 kB / 446.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1322, allocations: 7.984 kB / 446.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1322, allocations: 4 kB / 446.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.1323, allocations: 99.27 kB / 446.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1323, allocations: 7.938 kB / 446.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1325, allocations: 20 kB / 446.2 MB, free: 0.832 MB / 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 (6): * Single equations (assignments): 6 * 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.001258/0.1338, allocations: 1.061 MB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.134, allocations: 55.84 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1341, allocations: 8 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.1341, allocations: 31.97 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1345, allocations: 19.22 kB / 447.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.136, allocations: 1.42 MB / 448.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1362, allocations: 0.6924 MB / 449.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.1363, allocations: 28.36 kB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.1364, allocations: 19.42 kB / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1364, allocations: 0 / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.1558, allocations: 2.799 MB / 452.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.909, allocations: 11.92 kB / 452.4 MB, free: 10.61 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches