Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.1 kB / 16.41 MB, free: 6.508 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.001212/0.001212, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2153/0.2153, allocations: 43.52 MB / 314.1 MB, free: 452 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.001336/0.001336, allocations: 65.98 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003302/0.1286, allocations: 1.55 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.1293, allocations: 331.5 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.1294, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1296, allocations: 27.86 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1298, allocations: 43.72 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.1301, allocations: 95.73 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1303, allocations: 51.91 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1304, allocations: 15.98 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1304, allocations: 27.8 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.1305, allocations: 23.91 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1305, allocations: 0 / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.1306, allocations: 28 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.1307, allocations: 15.92 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.1307, allocations: 15.88 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1309, allocations: 75.72 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1309, allocations: 4 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1309, allocations: 0 / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1309, allocations: 0 / 0.4901 GB, free: 9.484 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.0004647/0.1314, allocations: 383.1 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1314, allocations: 11.89 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1315, allocations: 8.844 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1317, allocations: 184.3 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1317, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1317, allocations: 384 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1319, allocations: 49.81 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1319, allocations: 4 kB / 0.4907 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1319, allocations: 4 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1319, allocations: 4 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/0.132, allocations: 27.91 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1324, allocations: 280.8 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1326, allocations: 42.56 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.182e-05/0.1327, allocations: 24.94 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1327, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1328, allocations: 30.56 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1328, allocations: 3.938 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00051/0.1333, allocations: 141.4 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1333, allocations: 55.41 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1335, allocations: 142 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1335, allocations: 29.7 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1336, allocations: 92.08 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.1336, allocations: 23.64 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.1336, allocations: 17.72 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1337, allocations: 322.8 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.1338, allocations: 19.98 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1339, allocations: 27.98 kB / 0.492 GB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.134, allocations: 53.02 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.134, allocations: 3.938 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001625/0.1342, allocations: 77.66 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1342, allocations: 8 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1342, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1342, allocations: 8.219 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.1343, allocations: 11.98 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1343, allocations: 4 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.1344, allocations: 4 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1344, allocations: 4 kB / 0.4921 GB, free: 7.195 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.544e-05/0.1345, allocations: 121.7 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.1345, allocations: 15.88 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1347, allocations: 97.95 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1347, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1347, allocations: 4 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1348, allocations: 3.938 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.1352, allocations: 354.4 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1352, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.1352, allocations: 11.98 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1352, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1352, allocations: 4 kB / 0.4927 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1353, allocations: 4.125 kB / 0.4927 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1353, allocations: 8 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1355, allocations: 175.5 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.1355, allocations: 85.02 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1355, allocations: 4 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.1356, allocations: 11.94 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1357, allocations: 3.984 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1357, allocations: 4 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.211e-05/0.1358, allocations: 114.4 kB / 0.4931 GB, free: 6.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1358, allocations: 0 / 0.4931 GB, free: 6.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.136, allocations: 19.98 kB / 0.4931 GB, free: 6.066 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.0008749/0.1369, allocations: 390.4 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1371, allocations: 59.89 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1371, allocations: 0 / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.1372, allocations: 27.98 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1375, allocations: 23.78 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.1379, allocations: 177.3 kB / 0.4938 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1381, allocations: 0.6963 MB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.916e-05/0.1382, allocations: 11.98 kB / 0.4945 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.1382, allocations: 11.44 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1382, allocations: 0 / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of Templates: time 0.003435/0.1417, allocations: 1.104 MB / 0.4956 GB, free: 3.559 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches