Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",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.001201/0.001201, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001445/0.001445, allocations: 193.6 kB / 17.34 MB, free: 5.719 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2/0.2, allocations: 43.52 MB / 314.1 MB, free: 448 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.00244/0.00244, allocations: 69.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1276, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.004411/0.1321, allocations: 1.554 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.1329, allocations: 323.5 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.1331, allocations: 0 / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1335, allocations: 31.84 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1337, allocations: 35.84 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1341, allocations: 103.7 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1343, allocations: 51.84 kB / 0.4894 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1344, allocations: 19.97 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.1345, allocations: 15.88 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.1346, allocations: 23.84 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1346, allocations: 8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1347, allocations: 35.98 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.1348, allocations: 7.938 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1348, allocations: 27.8 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.135, allocations: 75.78 kB / 0.4896 GB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.135, allocations: 0 / 0.4896 GB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.135, allocations: 0 / 0.4896 GB, free: 9.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.135, allocations: 0 / 0.4896 GB, free: 9.949 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.0004859/0.1355, allocations: 395 kB / 0.49 GB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1356, allocations: 11.89 kB / 0.49 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.1356, allocations: 38.75 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.1357, allocations: 8.844 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.1359, allocations: 187.8 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1359, allocations: 8.375 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1359, allocations: 384 / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1361, allocations: 49.62 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1361, allocations: 0 / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1361, allocations: 0 / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1361, allocations: 0 / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.1362, allocations: 35.91 kB / 0.4904 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1366, allocations: 284.8 kB / 0.4906 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1368, allocations: 38.56 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1369, allocations: 20.94 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1369, allocations: 0 / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1369, allocations: 42.5 kB / 0.4907 GB, free: 8.684 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.137, allocations: 0 / 0.4907 GB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005724/0.1375, allocations: 153.4 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.1376, allocations: 59.34 kB / 0.4909 GB, free: 8.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1377, allocations: 161.8 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1378, allocations: 29.7 kB / 0.4911 GB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.1378, allocations: 100.1 kB / 0.4912 GB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1379, allocations: 11.81 kB / 0.4912 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1379, allocations: 17.72 kB / 0.4912 GB, free: 8.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.138, allocations: 330.7 kB / 0.4915 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.1381, allocations: 19.98 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.1382, allocations: 19.98 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1383, allocations: 52.83 kB / 0.4916 GB, free: 7.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1383, allocations: 0 / 0.4916 GB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000182/0.1385, allocations: 89.5 kB / 0.4917 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1385, allocations: 4 kB / 0.4917 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1385, allocations: 7.938 kB / 0.4917 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1386, allocations: 0 / 0.4917 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.1386, allocations: 11.98 kB / 0.4917 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1386, allocations: 0 / 0.4917 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.1387, allocations: 12 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1387, allocations: 3.938 kB / 0.4918 GB, free: 7.559 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 8.314e-05/0.1388, allocations: 125.8 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.1388, allocations: 7.906 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.1391, allocations: 97.95 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.1391, allocations: 3.984 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1391, allocations: 4.25 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1391, allocations: 4 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1395, allocations: 358.4 kB / 0.4923 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1396, allocations: 3.984 kB / 0.4923 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.1396, allocations: 8 kB / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1396, allocations: 0 / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1396, allocations: 0 / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1396, allocations: 7.938 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1396, allocations: 0 / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.1399, allocations: 187.4 kB / 0.4925 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.1399, allocations: 85.02 kB / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1399, allocations: 0 / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.14, allocations: 11.92 kB / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1401, allocations: 0 / 0.4926 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1401, allocations: 4 kB / 0.4926 GB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.913e-05/0.1402, allocations: 134.5 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1402, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1404, allocations: 15.98 kB / 0.4928 GB, free: 6.414 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.00125/0.1417, allocations: 1.022 MB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1419, allocations: 47.97 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1419, allocations: 0 / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.142, allocations: 31.92 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1423, allocations: 27.86 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1439, allocations: 1.472 MB / 0.4953 GB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1441, allocations: 0.7002 MB / 0.496 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/0.1442, allocations: 11.98 kB / 0.496 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1443, allocations: 19.44 kB / 0.496 GB, free: 2.996 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1443, allocations: 0 / 0.496 GB, free: 2.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.1639, allocations: 2.609 MB / 0.4986 GB, free: 380 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.576, allocations: 7.891 kB / 0.4986 GB, free: 372 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time