Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001214, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001211/0.001211, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.218/0.218, allocations: 43.51 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.001657/0.001657, allocations: 69.47 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1248, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003603/0.1284, allocations: 1.554 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.1292, allocations: 327.5 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.1293, allocations: 4 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1296, allocations: 95.73 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1299, allocations: 75.72 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1303, allocations: 83.77 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1305, allocations: 75.86 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1306, allocations: 15.98 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.1307, allocations: 39.78 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1308, allocations: 47.89 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1308, allocations: 4 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.1309, allocations: 27.98 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.131, allocations: 23.91 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.131, allocations: 27.75 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1312, allocations: 91.72 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1313, allocations: 0 / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1313, allocations: 0 / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1313, allocations: 0 / 0.4903 GB, free: 9.285 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.0005179/0.1318, allocations: 410.8 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1319, allocations: 11.89 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1319, allocations: 16.83 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1321, allocations: 204.6 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1321, allocations: 4.375 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1322, allocations: 4.375 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1323, allocations: 53.78 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1323, allocations: 0 / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1323, allocations: 4 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1324, allocations: 0 / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.1324, allocations: 23.92 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1329, allocations: 292.9 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.1331, allocations: 42.56 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.1332, allocations: 16.94 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1332, allocations: 0 / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1332, allocations: 42.5 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1332, allocations: 0 / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.1338, allocations: 153.2 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.1339, allocations: 51.41 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1341, allocations: 227.6 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1341, allocations: 25.7 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.1342, allocations: 116 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1342, allocations: 11.8 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.1342, allocations: 17.72 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1344, allocations: 326.8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1345, allocations: 23.92 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.1345, allocations: 19.98 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1347, allocations: 61.02 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1347, allocations: 0 / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001827/0.1349, allocations: 89.5 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1349, allocations: 8 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1349, allocations: 0 / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1349, allocations: 0 / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.135, allocations: 11.98 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.135, allocations: 7.984 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.135, allocations: 4 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.135, allocations: 4 kB / 0.4925 GB, free: 6.824 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.297e-05/0.1351, allocations: 137.7 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1352, allocations: 11.81 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1354, allocations: 102.6 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1355, allocations: 0 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1355, allocations: 0 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1355, allocations: 4 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.1359, allocations: 366.5 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1359, allocations: 0 / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.136, allocations: 19.92 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.136, allocations: 0 / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.136, allocations: 0 / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.136, allocations: 3.938 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.136, allocations: 4.125 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1363, allocations: 187.4 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1364, allocations: 85.02 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1364, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1365, allocations: 15.92 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1365, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1365, allocations: 4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1367, allocations: 175.2 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1367, allocations: 4 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.137, allocations: 15.91 kB / 0.4936 GB, free: 5.602 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.0009074/0.1379, allocations: 405.3 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1381, allocations: 55.91 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1381, allocations: 0 / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1382, allocations: 31.97 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1386, allocations: 19.8 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.1391, allocations: 230.4 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1395, allocations: 0.7079 MB / 0.495 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.1396, allocations: 15.92 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.1396, allocations: 15.44 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1396, allocations: 4 kB / 0.495 GB, free: 4.109 MB / 382.1 MB Notification: Performance of Templates: time 0.004167/0.1438, allocations: 1.135 MB / 0.4961 GB, free: 2.977 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches