Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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: translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 106.8 kB / 16.41 MB, free: 6.461 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.001239/0.001239, allocations: 189.5 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2219/0.2219, allocations: 43.53 MB / 314.1 MB, free: 444 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.001387/0.001387, allocations: 77.44 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002782/0.1284, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000618/0.1291, allocations: 335.5 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.1291, allocations: 0 / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1294, allocations: 79.7 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1296, allocations: 63.75 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1299, allocations: 95.8 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1301, allocations: 71.83 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1302, allocations: 15.97 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.1302, allocations: 35.84 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1303, allocations: 47.89 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1304, allocations: 0 / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.1304, allocations: 31.97 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.1305, allocations: 15.94 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.1306, allocations: 31.73 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1307, allocations: 87.72 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1307, allocations: 0 / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1307, allocations: 7.938 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1307, allocations: 0 / 0.4903 GB, free: 9.305 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.0004642/0.1312, allocations: 403 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1313, allocations: 11.89 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1313, allocations: 8.844 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1315, allocations: 192.1 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1315, allocations: 384 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1315, allocations: 384 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1317, allocations: 57.8 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1317, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1317, allocations: 4 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1317, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.1318, allocations: 27.92 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1322, allocations: 284.8 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1324, allocations: 54.55 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.1325, allocations: 20.88 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1325, allocations: 7.922 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1325, allocations: 34.56 kB / 0.4913 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1325, allocations: 0 / 0.4913 GB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.1331, allocations: 157.2 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1332, allocations: 55.41 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.1333, allocations: 202.2 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1334, allocations: 25.7 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.1334, allocations: 100.1 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1335, allocations: 23.66 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1335, allocations: 17.72 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1336, allocations: 326.8 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.1337, allocations: 19.98 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.1338, allocations: 23.98 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1339, allocations: 56.75 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1339, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001744/0.1341, allocations: 85.52 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1341, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1341, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1341, allocations: 0 / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.1342, allocations: 15.98 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1342, allocations: 3.984 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.1343, allocations: 11.98 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1343, allocations: 0 / 0.4924 GB, free: 6.887 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 9.263e-05/0.1344, allocations: 129.7 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1344, allocations: 7.906 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1347, allocations: 105.9 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1347, allocations: 0 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1347, allocations: 320 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1347, allocations: 0 / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1351, allocations: 362.5 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1352, allocations: 0 / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.1352, allocations: 15.98 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1352, allocations: 4 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1352, allocations: 3.938 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.1353, allocations: 7.875 kB / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1353, allocations: 0 / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1355, allocations: 183.3 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1356, allocations: 85.02 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1356, allocations: 4 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1357, allocations: 15.92 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.1357, allocations: 0 / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.1357, allocations: 4 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1359, allocations: 164 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1359, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1361, allocations: 16 kB / 0.4935 GB, free: 5.691 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.001027/0.1372, allocations: 401.1 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1374, allocations: 55.89 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1374, allocations: 0 / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.1375, allocations: 23.98 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1379, allocations: 27.78 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.1383, allocations: 229.9 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1386, allocations: 0.7041 MB / 0.4949 GB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.1387, allocations: 15.92 kB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1387, allocations: 11.44 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1388, allocations: 0 / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of Templates: time 0.003795/0.1426, allocations: 1.129 MB / 0.496 GB, free: 3.094 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches