Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115.8 kB / 17.08 MB, free: 5.938 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.001195/0.001195, allocations: 200.2 kB / 18.02 MB, free: 5.027 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.363/1.363, 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.2109/0.2109, allocations: 43.52 MB / 314.8 MB, free: 456 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.001386/0.001386, allocations: 69.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003705/0.1351, allocations: 1.554 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.1359, allocations: 319.5 kB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.136, allocations: 4 kB / 0.4904 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1363, allocations: 19.86 kB / 0.4904 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1366, allocations: 47.77 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1369, allocations: 67.78 kB / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1371, allocations: 51.89 kB / 0.4905 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1372, allocations: 15.98 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.1373, allocations: 27.86 kB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.1374, allocations: 15.92 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1374, allocations: 4 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1375, allocations: 31.98 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.249e-05/0.1376, allocations: 19.86 kB / 0.4907 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.1377, allocations: 23.81 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1379, allocations: 67.8 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1379, allocations: 4 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1379, allocations: 0 / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1379, allocations: 4 kB / 0.4908 GB, free: 9.512 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.0005761/0.1385, allocations: 383.2 kB / 0.4911 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1386, allocations: 11.89 kB / 0.4911 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.1386, allocations: 8.844 kB / 0.4911 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1388, allocations: 192.1 kB / 0.4913 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1389, allocations: 384 / 0.4913 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1389, allocations: 8.312 kB / 0.4913 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1391, allocations: 45.81 kB / 0.4914 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1391, allocations: 3.938 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1391, allocations: 7.984 kB / 0.4914 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1391, allocations: 4 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.1392, allocations: 19.98 kB / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.1396, allocations: 268.9 kB / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1399, allocations: 50.5 kB / 0.4917 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.14, allocations: 16.94 kB / 0.4917 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.14, allocations: 0 / 0.4917 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.14, allocations: 34.56 kB / 0.4918 GB, free: 8.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.14, allocations: 0 / 0.4918 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006751/0.1407, allocations: 141.3 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.1408, allocations: 51.41 kB / 0.4919 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.141, allocations: 160.5 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.141, allocations: 25.7 kB / 0.4921 GB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/0.1411, allocations: 92.14 kB / 0.4922 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1411, allocations: 23.64 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.1412, allocations: 17.72 kB / 0.4923 GB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1414, allocations: 326.8 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.1415, allocations: 11.98 kB / 0.4926 GB, free: 7.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.1415, allocations: 23.98 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1417, allocations: 48.78 kB / 0.4926 GB, free: 7.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1417, allocations: 3.938 kB / 0.4926 GB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001958/0.1419, allocations: 77.56 kB / 0.4927 GB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1419, allocations: 8 kB / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1419, allocations: 0 / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.142, allocations: 0 / 0.4927 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.142, allocations: 12 kB / 0.4927 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1421, allocations: 7.984 kB / 0.4927 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.1421, allocations: 0 / 0.4927 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1421, allocations: 7.938 kB / 0.4928 GB, free: 7.238 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.0001125/0.1422, allocations: 121.7 kB / 0.4929 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.1423, allocations: 7.906 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.1425, allocations: 97.94 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1426, allocations: 4 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1426, allocations: 0 / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1426, allocations: 4.25 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.1431, allocations: 350.4 kB / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1431, allocations: 0 / 0.4933 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.1431, allocations: 15.98 kB / 0.4933 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1431, allocations: 0 / 0.4933 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1432, allocations: 0 / 0.4933 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1432, allocations: 7.938 kB / 0.4933 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1432, allocations: 0 / 0.4933 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1434, allocations: 171.4 kB / 0.4935 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.1435, allocations: 89.02 kB / 0.4936 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1435, allocations: 3.984 kB / 0.4936 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.1436, allocations: 7.938 kB / 0.4936 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1436, allocations: 7.938 kB / 0.4936 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1436, allocations: 3.984 kB / 0.4936 GB, free: 6.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.1437, allocations: 122.1 kB / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1437, allocations: 0 / 0.4937 GB, free: 6.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.144, allocations: 11.98 kB / 0.4937 GB, free: 6.125 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.0009764/0.145, allocations: 401.2 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1452, allocations: 51.89 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1452, allocations: 4 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.1453, allocations: 27.92 kB / 0.4942 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1457, allocations: 19.8 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.1461, allocations: 203.1 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1465, allocations: 0.6885 MB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1465, allocations: 11.44 kB / 0.4951 GB, free: 4.707 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1465, allocations: 8 kB / 0.4951 GB, free: 4.699 MB / 382.1 MB Notification: Performance of Templates: time 0.003607/0.1501, allocations: 1.38 MB / 0.4964 GB, free: 3.324 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches