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.001258/0.001258, allocations: 114.6 kB / 17.08 MB, free: 5.832 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.001248/0.001248, allocations: 195 kB / 18.01 MB, free: 4.965 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.301/1.301, allocations: 205.1 MB / 223.9 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.1936/0.1936, allocations: 43.53 MB / 314.8 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.00143/0.00143, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1215, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004055/0.1256, allocations: 1.551 MB / 0.4901 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.1264, allocations: 327.4 kB / 0.4904 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.1265, allocations: 4 kB / 0.4904 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.1269, allocations: 87.75 kB / 0.4905 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1273, allocations: 71.72 kB / 0.4905 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1277, allocations: 71.84 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1279, allocations: 71.81 kB / 0.4907 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1281, allocations: 19.97 kB / 0.4907 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.1282, allocations: 31.86 kB / 0.4907 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1283, allocations: 47.88 kB / 0.4908 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1284, allocations: 4 kB / 0.4908 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1285, allocations: 27.98 kB / 0.4908 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.1286, allocations: 19.92 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1287, allocations: 35.73 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.129, allocations: 87.72 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.129, allocations: 0 / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.46e-06/0.129, allocations: 0 / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.129, allocations: 7.875 kB / 0.4909 GB, free: 9.359 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.0005329/0.1295, allocations: 410.9 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1296, allocations: 11.89 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.1297, allocations: 12.84 kB / 0.4913 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1299, allocations: 200.7 kB / 0.4915 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1299, allocations: 4.375 kB / 0.4915 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1299, allocations: 4.375 kB / 0.4915 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1301, allocations: 53.81 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1302, allocations: 0 / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1302, allocations: 0 / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1302, allocations: 0 / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1303, allocations: 23.92 kB / 0.4916 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.1308, allocations: 280.9 kB / 0.4919 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.131, allocations: 46.56 kB / 0.4919 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.1311, allocations: 12.86 kB / 0.4919 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1311, allocations: 3.938 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1312, allocations: 38.64 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.1312, allocations: 0 / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007718/0.132, allocations: 149.2 kB / 0.4921 GB, free: 7.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.132, allocations: 55.41 kB / 0.4922 GB, free: 7.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1324, allocations: 215.6 kB / 0.4924 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1324, allocations: 29.7 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1326, allocations: 112 kB / 0.4925 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1326, allocations: 19.78 kB / 0.4925 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1327, allocations: 21.66 kB / 0.4926 GB, free: 7.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1329, allocations: 334.7 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.133, allocations: 19.98 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9e-05/0.1331, allocations: 15.98 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1333, allocations: 45.03 kB / 0.493 GB, free: 7.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1333, allocations: 3.984 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002734/0.1336, allocations: 81.52 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1336, allocations: 12 kB / 0.4931 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1336, allocations: 0 / 0.4931 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1336, allocations: 0 / 0.4931 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.1337, allocations: 11.98 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1337, allocations: 0 / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.1338, allocations: 4 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1338, allocations: 4 kB / 0.4931 GB, free: 6.945 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.0001539/0.134, allocations: 133.7 kB / 0.4932 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1341, allocations: 19.81 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1344, allocations: 94.59 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1344, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1344, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1344, allocations: 4 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005644/0.135, allocations: 350.5 kB / 0.4936 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.135, allocations: 0 / 0.4936 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.1351, allocations: 15.98 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1351, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1351, allocations: 4 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1351, allocations: 7.875 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1351, allocations: 192 / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1355, allocations: 175.4 kB / 0.4938 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1355, allocations: 89 kB / 0.4939 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.1356, allocations: 4 kB / 0.4939 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1357, allocations: 7.938 kB / 0.4939 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1358, allocations: 3.984 kB / 0.4939 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1358, allocations: 8 kB / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.136, allocations: 167.2 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.136, allocations: 0 / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.1364, allocations: 15.91 kB / 0.4941 GB, free: 5.758 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.001441/0.1379, allocations: 412.2 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1382, allocations: 47.91 kB / 0.4946 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1382, allocations: 0 / 0.4946 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1383, allocations: 23.98 kB / 0.4946 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.1389, allocations: 31.06 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/0.1396, allocations: 252.1 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.14, allocations: 0.7079 MB / 0.4955 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.14, allocations: 11.44 kB / 0.4956 GB, free: 4.262 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.14, allocations: 0 / 0.4956 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Templates: time 0.003588/0.1436, allocations: 1.528 MB / 0.497 GB, free: 2.738 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/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