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.001322/0.001322, allocations: 100.1 kB / 16.4 MB, free: 6.496 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.001508/0.001509, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.639/1.639, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.253/0.253, allocations: 43.52 MB / 314.1 MB, free: 472 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.001738/0.001738, allocations: 68.33 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1312, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00365/0.1349, allocations: 1.55 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000786/0.1358, allocations: 319.5 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/0.1359, allocations: 0 / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.1364, allocations: 123.7 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1368, allocations: 83.77 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1372, allocations: 75.77 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1374, allocations: 79.88 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1376, allocations: 15.92 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1378, allocations: 51.75 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.138, allocations: 75.84 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.138, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1382, allocations: 31.94 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.1382, allocations: 23.91 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.1383, allocations: 39.73 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1386, allocations: 103.6 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1386, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1386, allocations: 0 / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1387, allocations: 0 / 0.4899 GB, free: 9.727 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.000775/0.1394, allocations: 418.8 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1395, allocations: 11.89 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.1396, allocations: 42.67 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1396, allocations: 16.75 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1398, allocations: 207.8 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1398, allocations: 4.359 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1399, allocations: 8.375 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.14, allocations: 45.62 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.14, allocations: 4 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1401, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1401, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.1402, allocations: 23.92 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1406, allocations: 292.9 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1408, allocations: 42.56 kB / 0.491 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1409, allocations: 16.94 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1409, allocations: 0 / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1409, allocations: 38.5 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.141, allocations: 0 / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007658/0.1417, allocations: 149.1 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1418, allocations: 55.41 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.1421, allocations: 266.3 kB / 0.4915 GB, free: 7.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1422, allocations: 25.7 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.1423, allocations: 112.1 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1423, allocations: 19.66 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1423, allocations: 21.72 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1425, allocations: 330.8 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.1426, allocations: 15.98 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.1426, allocations: 19.98 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1428, allocations: 40.84 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1428, allocations: 0 / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002158/0.143, allocations: 93.5 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1431, allocations: 7.938 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1431, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1431, allocations: 4.281 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.1432, allocations: 8.25 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1432, allocations: 3.984 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.1432, allocations: 15.92 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1433, allocations: 3.938 kB / 0.4922 GB, free: 7.172 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.0001119/0.1434, allocations: 141.8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.1434, allocations: 19.8 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.1437, allocations: 90.59 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1437, allocations: 4 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1437, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1437, allocations: 3.984 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1441, allocations: 362.5 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1442, allocations: 0 / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.1442, allocations: 8 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1442, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1443, allocations: 4 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.1443, allocations: 3.938 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1443, allocations: 3.938 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1445, allocations: 183.3 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1446, allocations: 85.02 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1446, allocations: 0 / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.1447, allocations: 15.92 kB / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.1447, allocations: 4 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1447, allocations: 192 / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1449, allocations: 199.2 kB / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1449, allocations: 0 / 0.4932 GB, free: 5.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1451, allocations: 19.89 kB / 0.4933 GB, free: 5.938 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.001327/0.1465, allocations: 1.018 MB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1467, allocations: 47.97 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1467, allocations: 0 / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1468, allocations: 27.92 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1472, allocations: 23.8 kB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1492, allocations: 1.7 MB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1496, allocations: 0.7158 MB / 0.4967 GB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.1497, allocations: 4 kB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.1497, allocations: 35.42 kB / 0.4967 GB, free: 2.281 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1498, allocations: 0 / 0.4967 GB, free: 2.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1704, allocations: 3.023 MB / 0.4997 GB, free: 15.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/7.871, 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