Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.001281/0.001282, allocations: 104.8 kB / 16.4 MB, free: 6.492 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.001496/0.001495, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2117/0.2117, allocations: 43.53 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.001501/0.001501, allocations: 72.47 kB / 441.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1201, allocations: 57.8 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003544/0.1237, allocations: 1.789 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.126, allocations: 1.48 MB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1262, allocations: 4 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1266, allocations: 55.69 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.1269, allocations: 87.55 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1273, allocations: 143.7 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1275, allocations: 179.5 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.872e-05/0.1276, allocations: 21.42 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1278, allocations: 87.56 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.128, allocations: 63.69 kB / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.128, allocations: 8 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.1281, allocations: 63.97 kB / 0.4913 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1282, allocations: 39.84 kB / 0.4914 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1283, allocations: 51.61 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1286, allocations: 167.5 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1286, allocations: 0 / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1286, allocations: 0 / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1286, allocations: 0 / 0.4916 GB, free: 8.012 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006411/0.1292, allocations: 474.5 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1293, allocations: 11.89 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1293, allocations: 42.73 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1294, allocations: 16.75 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1298, allocations: 247.6 kB / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1298, allocations: 384 / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1298, allocations: 7.938 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.13, allocations: 105 kB / 0.4924 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.13, allocations: 0 / 0.4924 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1301, allocations: 4 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1301, allocations: 0 / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1302, allocations: 31.95 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.1304, allocations: 218.4 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1307, allocations: 113.1 kB / 0.4928 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.1308, allocations: 37.7 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1308, allocations: 7.969 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1311, allocations: 113 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1311, allocations: 0 / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004546/0.1315, allocations: 161.4 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.1316, allocations: 132.5 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1319, allocations: 211.8 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1319, allocations: 29.7 kB / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1319, allocations: 108.1 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.132, allocations: 31.64 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1321, allocations: 33.7 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1322, allocations: 330.8 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.1323, allocations: 27.98 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1324, allocations: 77.06 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1326, allocations: 87.95 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1326, allocations: 3.938 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002769/0.1329, allocations: 137.4 kB / 0.4943 GB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1329, allocations: 4 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1329, allocations: 7.984 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1329, allocations: 0 / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.133, allocations: 20.06 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.133, allocations: 4 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.1331, allocations: 15.89 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1332, allocations: 4 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001145/0.1333, allocations: 141.6 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1333, allocations: 15.81 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1334, allocations: 17 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1334, allocations: 4 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1334, allocations: 4 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1334, allocations: 3.984 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1336, allocations: 217.5 kB / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1336, allocations: 0 / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.1337, allocations: 8 kB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1337, allocations: 0 / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1337, allocations: 11.92 kB / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1337, allocations: 0 / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1337, allocations: 0 / 0.4947 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.134, allocations: 169.6 kB / 0.4949 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1341, allocations: 88.92 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1341, allocations: 8 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1342, allocations: 7.984 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1343, allocations: 15.92 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1343, allocations: 4.125 kB / 0.495 GB, free: 4.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1344, allocations: 157.5 kB / 0.4951 GB, free: 3.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1344, allocations: 4 kB / 0.4951 GB, free: 3.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1347, allocations: 35.98 kB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001567/0.1363, allocations: 1.061 MB / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1366, allocations: 83.84 kB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1366, allocations: 0 / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1367, allocations: 43.92 kB / 0.4963 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1371, allocations: 51.33 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1391, allocations: 1.808 MB / 0.4982 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.1394, allocations: 0.7242 MB / 0.4989 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1395, allocations: 25.53 kB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.091e-05/0.1396, allocations: 51.41 kB / 0.4989 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1396, allocations: 4 kB / 0.4989 GB, free: 15.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1639, allocations: 4.777 MB / 0.5036 GB, free: 11.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.333, allocations: 0 / 0.5036 GB, free: 11.08 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time