Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.2 kB / 16.41 MB, free: 6.027 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.001174/0.001174, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.225/0.225, allocations: 43.52 MB / 314.1 MB, free: 468 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.001743/0.001743, allocations: 67.89 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1264, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003751/0.1302, allocations: 1.608 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009382/0.1312, allocations: 347.5 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1313, allocations: 4 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.1321, allocations: 455.1 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.1326, allocations: 251.5 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.1331, allocations: 155.6 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.1335, allocations: 163.7 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1336, allocations: 24.16 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1338, allocations: 111.7 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.1341, allocations: 207.6 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1341, allocations: 4 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1342, allocations: 35.98 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1343, allocations: 79.7 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1345, allocations: 107 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.1348, allocations: 251 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1349, allocations: 0 / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1349, allocations: 0 / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.1349, allocations: 0 / 0.4916 GB, free: 8.027 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007823/0.1357, allocations: 0.637 MB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1357, allocations: 15.89 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1358, allocations: 44.38 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1361, allocations: 296.2 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1362, allocations: 4.312 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1362, allocations: 8.375 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1364, allocations: 53.56 kB / 0.4926 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1364, allocations: 4 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1364, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1364, allocations: 4 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1365, allocations: 27.97 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1371, allocations: 396.6 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1374, allocations: 54.48 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.1375, allocations: 16.94 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1375, allocations: 0 / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1375, allocations: 38.56 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1375, allocations: 0 / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006839/0.1382, allocations: 232 kB / 0.4933 GB, free: 6.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1383, allocations: 51.41 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/0.1391, allocations: 0.8612 MB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1392, allocations: 25.7 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1393, allocations: 228.1 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1394, allocations: 23.72 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1394, allocations: 13.72 kB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1396, allocations: 366.8 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.1397, allocations: 19.98 kB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.999e-05/0.1397, allocations: 19.98 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1399, allocations: 60.95 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1399, allocations: 0 / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002216/0.1401, allocations: 121.2 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1401, allocations: 4 kB / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1401, allocations: 0 / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1402, allocations: 0 / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.1402, allocations: 15.98 kB / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1402, allocations: 3.984 kB / 0.4951 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.1403, allocations: 7.938 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1403, allocations: 4 kB / 0.4951 GB, free: 4.18 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.0001921/0.1405, allocations: 221.6 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.1406, allocations: 43.44 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1409, allocations: 141 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1409, allocations: 0 / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1409, allocations: 0 / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1409, allocations: 3.938 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.1414, allocations: 466.4 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1415, allocations: 4 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.1415, allocations: 11.98 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1415, allocations: 0 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1415, allocations: 4.125 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1416, allocations: 4 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1416, allocations: 4 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1418, allocations: 219 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.1419, allocations: 104.6 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1419, allocations: 11.88 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.142, allocations: 3.984 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1421, allocations: 4 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1421, allocations: 0 / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005829/0.1427, allocations: 0.655 MB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1429, allocations: 28 kB / 0.4969 GB, free: 2.172 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.0009514/0.1439, allocations: 403.8 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1441, allocations: 51.97 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1441, allocations: 0 / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.896e-05/0.1442, allocations: 35.91 kB / 0.4974 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1446, allocations: 29.11 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1457, allocations: 0.7794 MB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.1462, allocations: 0.826 MB / 0.499 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.714e-05/0.1462, allocations: 11.98 kB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1463, allocations: 11.44 kB / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1463, allocations: 4 kB / 0.499 GB, free: 12 kB / 382.1 MB Notification: Performance of Templates: time 0.005389/0.1517, allocations: 1.479 MB / 0.5005 GB, free: 14.53 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches