Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001052/0.001052, allocations: 185.5 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.2212/0.2212, allocations: 43.53 MB / 314.1 MB, free: 436 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.001603/0.001603, allocations: 66.23 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.003467/0.1345, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007045/0.1352, allocations: 331.5 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.1353, allocations: 3.938 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1356, allocations: 111.7 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1359, allocations: 79.72 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1363, allocations: 91.8 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1365, allocations: 71.89 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1366, allocations: 19.97 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.1367, allocations: 43.77 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1368, allocations: 59.88 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1368, allocations: 4 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.1369, allocations: 28 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.137, allocations: 19.92 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1371, allocations: 43.66 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1373, allocations: 91.72 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1373, allocations: 3.938 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1373, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1374, allocations: 0 / 0.4904 GB, free: 9.223 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.0005946/0.138, allocations: 410.9 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.138, allocations: 11.89 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.1381, allocations: 8.844 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1383, allocations: 207.9 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1383, allocations: 4.375 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.1384, allocations: 4.375 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.1385, allocations: 53.81 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1386, allocations: 0 / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1386, allocations: 0 / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1386, allocations: 0 / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1387, allocations: 27.91 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1391, allocations: 292.9 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1394, allocations: 42.56 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.1395, allocations: 24.88 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1395, allocations: 0 / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1395, allocations: 30.56 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1395, allocations: 0 / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005997/0.1401, allocations: 165.1 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1402, allocations: 51.41 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1404, allocations: 246.6 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1404, allocations: 25.7 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.1405, allocations: 108.1 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1405, allocations: 11.8 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.1406, allocations: 21.72 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1407, allocations: 326.8 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.1408, allocations: 23.97 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1409, allocations: 23.92 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.141, allocations: 53.02 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.141, allocations: 0 / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1412, allocations: 101.5 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1413, allocations: 7.281 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1413, allocations: 0 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1413, allocations: 0 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.1414, allocations: 12 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1414, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.1414, allocations: 11.89 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1414, allocations: 3.984 kB / 0.4926 GB, free: 6.734 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.0001208/0.1416, allocations: 145.6 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1416, allocations: 11.91 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.1419, allocations: 106.8 kB / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1419, allocations: 0 / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1419, allocations: 0 / 0.4928 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1419, allocations: 3.984 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1423, allocations: 362.5 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1423, allocations: 4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.1424, allocations: 15.98 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1424, allocations: 3.938 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1424, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1424, allocations: 3.938 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1424, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.1427, allocations: 195.5 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.1427, allocations: 85.02 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1427, allocations: 0 / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.1428, allocations: 11.92 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1429, allocations: 4 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1429, allocations: 0 / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.143, allocations: 183.2 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.143, allocations: 0 / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1433, allocations: 20 kB / 0.4937 GB, free: 5.492 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.000914/0.1442, allocations: 403.4 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1444, allocations: 55.91 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1445, allocations: 0 / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.1445, allocations: 27.97 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1449, allocations: 23.84 kB / 0.4942 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.1454, allocations: 266.2 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1458, allocations: 0.708 MB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.171e-05/0.1458, allocations: 11.98 kB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.1459, allocations: 11.44 kB / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1459, allocations: 0 / 0.4951 GB, free: 3.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004181/0.1501, allocations: 1.144 MB / 0.4962 GB, free: 2.836 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches