Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 117.5 kB / 17.08 MB, free: 5.965 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.001337/0.001337, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2236/0.2236, allocations: 43.53 MB / 314.8 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.001403/0.001403, allocations: 65.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003323/0.1307, allocations: 1.546 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.1314, allocations: 323.5 kB / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.1315, allocations: 0 / 0.4904 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1319, allocations: 123.7 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1321, allocations: 91.69 kB / 0.4906 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1325, allocations: 71.78 kB / 0.4906 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1327, allocations: 75.81 kB / 0.4907 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1328, allocations: 27.95 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.1329, allocations: 39.84 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.133, allocations: 75.84 kB / 0.4909 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1331, allocations: 4 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1332, allocations: 35.92 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.1333, allocations: 23.91 kB / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.1333, allocations: 31.75 kB / 0.4909 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1336, allocations: 107.6 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1336, allocations: 0 / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.1336, allocations: 4 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1336, allocations: 0 / 0.4911 GB, free: 9.203 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.0006373/0.1343, allocations: 418.8 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1343, allocations: 11.89 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.1344, allocations: 20.69 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1346, allocations: 207.9 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1346, allocations: 384 / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1346, allocations: 4.375 kB / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1348, allocations: 53.75 kB / 0.4917 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1348, allocations: 0 / 0.4917 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1348, allocations: 0 / 0.4917 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1348, allocations: 4 kB / 0.4917 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.1349, allocations: 19.98 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1354, allocations: 292.8 kB / 0.492 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.1356, allocations: 46.5 kB / 0.4921 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.1357, allocations: 16.94 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1357, allocations: 0 / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1358, allocations: 34.56 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1358, allocations: 0 / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006148/0.1364, allocations: 153.3 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1364, allocations: 51.41 kB / 0.4923 GB, free: 7.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1367, allocations: 266.3 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1367, allocations: 25.7 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1368, allocations: 112.1 kB / 0.4927 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1368, allocations: 19.66 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.1369, allocations: 17.7 kB / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.137, allocations: 334.8 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.1371, allocations: 19.98 kB / 0.4931 GB, free: 6.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.1372, allocations: 15.98 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1373, allocations: 49.03 kB / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1373, allocations: 0 / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001822/0.1375, allocations: 89.44 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1375, allocations: 4 kB / 0.4932 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1376, allocations: 4.047 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1376, allocations: 3.984 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.1376, allocations: 12 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1377, allocations: 3.984 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.1377, allocations: 4 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1377, allocations: 3.938 kB / 0.4933 GB, free: 6.703 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 0.0001161/0.1378, allocations: 141.7 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1379, allocations: 11.81 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.1381, allocations: 106.6 kB / 0.4935 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1382, allocations: 0 / 0.4935 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1382, allocations: 0 / 0.4935 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1382, allocations: 3.984 kB / 0.4935 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1386, allocations: 358.5 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1386, allocations: 0 / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.1387, allocations: 11.94 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1387, allocations: 4 kB / 0.4939 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1387, allocations: 4 kB / 0.4939 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1387, allocations: 3.938 kB / 0.4939 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1387, allocations: 8.172 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1389, allocations: 179.3 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.139, allocations: 85.02 kB / 0.4941 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.139, allocations: 0 / 0.4941 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1391, allocations: 15.92 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.1391, allocations: 0 / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.1392, allocations: 4 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1393, allocations: 203.2 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1396, allocations: 20 kB / 0.4944 GB, free: 5.457 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.0009447/0.1405, allocations: 398.4 kB / 0.4948 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1408, allocations: 51.97 kB / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1408, allocations: 0 / 0.4948 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.1409, allocations: 23.98 kB / 0.4948 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1413, allocations: 27.72 kB / 0.4949 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.1418, allocations: 304.2 kB / 0.4951 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1422, allocations: 0.708 MB / 0.4958 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1422, allocations: 15.42 kB / 0.4959 GB, free: 3.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1422, allocations: 0 / 0.4959 GB, free: 3.918 MB / 382.1 MB Notification: Performance of Templates: time 0.003984/0.1462, allocations: 1.602 MB / 0.4974 GB, free: 2.316 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches