Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 110.5 kB / 16.41 MB, free: 6.48 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.001189/0.001189, allocations: 190.1 kB / 17.34 MB, free: 5.766 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.394/1.394, 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.2158/0.2158, allocations: 43.54 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.001518/0.001518, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1262, allocations: 57.81 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003173/0.1294, allocations: 1.539 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.1301, allocations: 327.5 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.1302, allocations: 7.938 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1306, allocations: 87.8 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1309, allocations: 67.73 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1312, allocations: 75.78 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1314, allocations: 75.81 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1315, allocations: 11.98 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.1316, allocations: 39.83 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1317, allocations: 47.89 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1318, allocations: 0 / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1319, allocations: 27.98 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.132, allocations: 19.92 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.1321, allocations: 31.75 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1324, allocations: 91.64 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.1324, allocations: 4 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1324, allocations: 7.938 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1324, allocations: 0 / 0.4903 GB, free: 9.332 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.0007315/0.1332, allocations: 403 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.1332, allocations: 15.89 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.1333, allocations: 8.844 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1335, allocations: 208.7 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1335, allocations: 384 / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1336, allocations: 384 / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1337, allocations: 57.75 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1338, allocations: 3.984 kB / 0.4909 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1338, allocations: 4 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1338, allocations: 0 / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.1339, allocations: 23.98 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1343, allocations: 272.9 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1345, allocations: 46.5 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1346, allocations: 20.94 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1346, allocations: 0 / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1346, allocations: 30.56 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.1347, allocations: 4 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005496/0.1352, allocations: 145.2 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1353, allocations: 55.41 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1355, allocations: 223.6 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1355, allocations: 25.7 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1356, allocations: 112 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1356, allocations: 15.81 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.1357, allocations: 17.66 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1358, allocations: 334.8 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1359, allocations: 11.98 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.136, allocations: 19.98 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1361, allocations: 56.95 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1361, allocations: 0 / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001743/0.1363, allocations: 81.52 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1363, allocations: 8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1363, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1363, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1364, allocations: 15.98 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1364, allocations: 0 / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.1364, allocations: 7.984 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1365, allocations: 0 / 0.4924 GB, free: 6.926 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 9.909e-05/0.1366, allocations: 133.7 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.1366, allocations: 11.81 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1368, allocations: 102.6 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1368, allocations: 4 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1369, allocations: 0 / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1369, allocations: 0 / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1373, allocations: 354.4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1373, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.1374, allocations: 12.28 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1374, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1374, allocations: 4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1374, allocations: 4.125 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1374, allocations: 4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1377, allocations: 179.4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1377, allocations: 85.02 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1377, allocations: 4 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.1378, allocations: 11.92 kB / 0.4933 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1378, allocations: 4 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1379, allocations: 0 / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.138, allocations: 175.2 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.138, allocations: 0 / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1382, allocations: 23.89 kB / 0.4935 GB, free: 5.723 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.0009061/0.1392, allocations: 411.9 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1394, allocations: 43.97 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1394, allocations: 0 / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.1395, allocations: 27.92 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1398, allocations: 27.06 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1404, allocations: 218.5 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.1407, allocations: 0.7119 MB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1408, allocations: 4 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.1408, allocations: 15.44 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1408, allocations: 0 / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Templates: time 0.004169/0.145, allocations: 1.12 MB / 0.496 GB, free: 3.145 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches