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.001697/0.001697, allocations: 106.3 kB / 16.41 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.001806/0.001807, allocations: 189.5 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2295/0.2295, 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.001425/0.001425, allocations: 76.45 kB / 441.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003308/0.1281, allocations: 1.782 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1304, allocations: 1.488 MB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1306, allocations: 7.938 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.131, allocations: 47.77 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1313, allocations: 91.53 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1317, allocations: 151.5 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.132, allocations: 179.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1321, allocations: 17.48 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1322, allocations: 83.61 kB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1325, allocations: 71.62 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.1325, allocations: 8 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1327, allocations: 63.97 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1327, allocations: 27.91 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.1328, allocations: 63.59 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.1331, allocations: 167.5 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1331, allocations: 0 / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1331, allocations: 0 / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1331, allocations: 0 / 0.4916 GB, free: 7.996 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.0006413/0.1338, allocations: 470.6 kB / 0.492 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1338, allocations: 11.89 kB / 0.492 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.1339, allocations: 38.73 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.1339, allocations: 16.75 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1343, allocations: 251.6 kB / 0.4923 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1343, allocations: 384 / 0.4923 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1343, allocations: 7.938 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.1346, allocations: 101.1 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1346, allocations: 0 / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1346, allocations: 0 / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1346, allocations: 4 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1347, allocations: 35.91 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.135, allocations: 214.5 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1352, allocations: 113.1 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.1353, allocations: 41.64 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.1354, allocations: 3.984 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1356, allocations: 105 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1356, allocations: 4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004356/0.136, allocations: 161.4 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.1361, allocations: 140.5 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1364, allocations: 207.8 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1364, allocations: 29.7 kB / 0.4935 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.1365, allocations: 112.1 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1365, allocations: 31.64 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.1366, allocations: 33.7 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1367, allocations: 326.8 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.1368, allocations: 27.98 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1369, allocations: 73.12 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1371, allocations: 91.89 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1371, allocations: 3.938 kB / 0.4941 GB, free: 5.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002658/0.1374, allocations: 133.4 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1374, allocations: 7.984 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1374, allocations: 4 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1374, allocations: 0 / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1375, allocations: 20 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1376, allocations: 8 kB / 0.4943 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.1376, allocations: 11.89 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1377, allocations: 8 kB / 0.4943 GB, free: 4.883 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.0001388/0.1378, allocations: 141.6 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1379, allocations: 15.81 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.1379, allocations: 16.98 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1379, allocations: 4 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1379, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.138, allocations: 7.984 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1382, allocations: 217.5 kB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1382, allocations: 0 / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1382, allocations: 8 kB / 0.4947 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1382, allocations: 0 / 0.4947 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1382, allocations: 7.984 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1382, allocations: 0 / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1382, allocations: 3.938 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1386, allocations: 173.6 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.1386, allocations: 88.92 kB / 0.495 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.1387, allocations: 7.984 kB / 0.495 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1388, allocations: 12.12 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.1388, allocations: 8.078 kB / 0.495 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1388, allocations: 7.938 kB / 0.495 GB, free: 4.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.139, allocations: 161.5 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.139, allocations: 0 / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1393, allocations: 40 kB / 0.4952 GB, free: 3.879 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.001608/0.1409, allocations: 1.051 MB / 0.4962 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1412, allocations: 79.91 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.1412, allocations: 0 / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1413, allocations: 39.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.000371/0.1417, allocations: 63.56 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.144, allocations: 1.808 MB / 0.4982 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1444, allocations: 0.7203 MB / 0.4989 GB, free: 0 / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.1446, allocations: 26.12 kB / 0.4989 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.1447, allocations: 47.41 kB / 0.4989 GB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1447, allocations: 0 / 0.4989 GB, free: 15.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.178, allocations: 4.775 MB / 0.5036 GB, free: 11.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.602, allocations: 3.938 kB / 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