Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001144/0.001144, allocations: 105.6 kB / 16.41 MB, free: 6.473 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.001259/0.00126, allocations: 192.1 kB / 17.34 MB, free: 5.754 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.212/0.212, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001575/0.001575, allocations: 68.47 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1206, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003201/0.1238, allocations: 1.554 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000703/0.1246, allocations: 319.5 kB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.1247, allocations: 4 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.125, allocations: 127.7 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1253, allocations: 79.77 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1255, allocations: 79.72 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1257, allocations: 79.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.126, allocations: 23.91 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.1261, allocations: 43.83 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1262, allocations: 75.78 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1262, allocations: 7.984 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.1263, allocations: 35.94 kB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.1264, allocations: 23.92 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.1264, allocations: 35.73 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1266, allocations: 99.64 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1266, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1267, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1267, allocations: 0 / 0.4899 GB, free: 9.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005203/0.1272, allocations: 418.8 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1272, allocations: 15.88 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1273, allocations: 42.69 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1273, allocations: 12.75 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1275, allocations: 215.8 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.1275, allocations: 4.375 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1276, allocations: 384 / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1277, allocations: 49.62 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1277, allocations: 0 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1277, allocations: 0 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1278, allocations: 0 / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.1278, allocations: 23.92 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1283, allocations: 292.9 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1285, allocations: 42.56 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.1286, allocations: 12.94 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1286, allocations: 4 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1286, allocations: 38.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1287, allocations: 4 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005801/0.1292, allocations: 141.2 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1293, allocations: 59.34 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1295, allocations: 262.3 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1296, allocations: 25.7 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.1296, allocations: 112.1 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1297, allocations: 27.66 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1297, allocations: 17.7 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1299, allocations: 330.8 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.1299, allocations: 15.98 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.13, allocations: 15.98 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1301, allocations: 44.84 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1301, allocations: 4 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000174/0.1303, allocations: 81.81 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1303, allocations: 7.938 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1304, allocations: 11.94 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1304, allocations: 0 / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1306, allocations: 8 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1306, allocations: 3.984 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1306, allocations: 11.92 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1307, allocations: 3.938 kB / 0.4922 GB, free: 7.184 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001136/0.1308, allocations: 141.8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.1308, allocations: 15.81 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1311, allocations: 90.66 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1311, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1311, allocations: 3.938 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1311, allocations: 3.984 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1316, allocations: 362.5 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1316, allocations: 0 / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.1316, allocations: 8 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1316, allocations: 4 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1317, allocations: 4 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1317, allocations: 3.938 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1317, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1319, allocations: 191.5 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1319, allocations: 81.02 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.132, allocations: 4.172 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.132, allocations: 15.92 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1321, allocations: 4 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.1321, allocations: 0 / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1322, allocations: 203.2 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1323, allocations: 0 / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1325, allocations: 23.91 kB / 0.4933 GB, free: 5.934 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001355/0.1339, allocations: 0.9985 MB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1341, allocations: 51.97 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1341, allocations: 0 / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/0.1341, allocations: 27.92 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1345, allocations: 19.2 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1364, allocations: 1.7 MB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.1367, allocations: 0.7118 MB / 0.4967 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.1368, allocations: 4 kB / 0.4967 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1368, allocations: 35.42 kB / 0.4967 GB, free: 2.297 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1368, allocations: 0 / 0.4967 GB, free: 2.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1572, allocations: 3.032 MB / 0.4997 GB, free: 15.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.016, allocations: 8.391 kB / 0.4997 GB, free: 15.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time