Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 105 kB / 16.39 MB, free: 6.359 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.001715/0.001715, allocations: 186.2 kB / 17.33 MB, free: 5.84 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.555/1.555, 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.2143/0.2143, allocations: 43.52 MB / 314.1 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.00157/0.00157, allocations: 73.44 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00277/0.1282, allocations: 1.55 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1295, allocations: 0.934 MB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.1296, allocations: 0 / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1299, allocations: 31.84 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1301, allocations: 43.77 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1303, allocations: 71.72 kB / 0.4904 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1305, allocations: 51.91 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1307, allocations: 15.92 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.1307, allocations: 27.91 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1309, allocations: 19.92 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.131, allocations: 7.938 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1311, allocations: 59.89 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1312, allocations: 8 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1312, allocations: 15.88 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.1314, allocations: 91.77 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1314, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1314, allocations: 0 / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1315, allocations: 0 / 0.4907 GB, free: 8.844 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.0004958/0.132, allocations: 387.1 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.132, allocations: 11.89 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1321, allocations: 4.938 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1323, allocations: 192.1 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1323, allocations: 384 / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1323, allocations: 4.375 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1325, allocations: 63.53 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1325, allocations: 0 / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1325, allocations: 4 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1325, allocations: 0 / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.1326, allocations: 31.95 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.1331, allocations: 272.8 kB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1333, allocations: 38.56 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.1334, allocations: 20.86 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1334, allocations: 0 / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1334, allocations: 34.56 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1334, allocations: 0 / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005528/0.134, allocations: 137.4 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.1341, allocations: 85.09 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1342, allocations: 129.8 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1342, allocations: 33.69 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.1343, allocations: 92.05 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1343, allocations: 19.75 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1344, allocations: 17.7 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1345, allocations: 318.8 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1346, allocations: 23.92 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1346, allocations: 33.7 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1348, allocations: 49.02 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1348, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001633/0.135, allocations: 81.52 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.135, allocations: 8 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.135, allocations: 0 / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.135, allocations: 4.031 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.1351, allocations: 15.92 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1351, allocations: 4 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.1351, allocations: 3.984 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.1352, allocations: 7.984 kB / 0.4928 GB, free: 6.516 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.856e-05/0.1353, allocations: 125.7 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1353, allocations: 4 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.1355, allocations: 93.53 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1355, allocations: 0 / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1355, allocations: 0 / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1355, allocations: 4 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1359, allocations: 342.4 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1359, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.136, allocations: 8 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.136, allocations: 7.984 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.136, allocations: 4 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.136, allocations: 4.125 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.136, allocations: 4 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1363, allocations: 171.5 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.1363, allocations: 81.02 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1363, allocations: 4 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1364, allocations: 15.92 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.1364, allocations: 4 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1365, allocations: 0 / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.795e-05/0.1365, allocations: 111.8 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1365, allocations: 0 / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1368, allocations: 24 kB / 0.4937 GB, free: 5.418 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.000942/0.1377, allocations: 448.2 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.1379, allocations: 47.91 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.138, allocations: 0 / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.138, allocations: 23.98 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1384, allocations: 23.78 kB / 0.4942 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.1387, allocations: 157.4 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.139, allocations: 0.6885 MB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.1391, allocations: 8 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1391, allocations: 15.42 kB / 0.4951 GB, free: 4.012 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1391, allocations: 3.938 kB / 0.4951 GB, free: 4.008 MB / 382.1 MB Notification: Performance of Templates: time 0.004098/0.1432, allocations: 1.354 MB / 0.4964 GB, free: 2.656 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches