Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001624/0.001624, allocations: 188.1 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.638/1.638, 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.2425/0.2425, allocations: 43.54 MB / 314.1 MB, free: 452 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.001563/0.001563, allocations: 71.89 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1466, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002778/0.1495, allocations: 1.539 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.1501, allocations: 331.5 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.1501, allocations: 0 / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1505, allocations: 123.7 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1507, allocations: 83.77 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.151, allocations: 75.77 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1511, allocations: 75.88 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1513, allocations: 27.91 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.1513, allocations: 39.83 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1515, allocations: 75.84 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1515, allocations: 4 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.738e-05/0.1516, allocations: 39.86 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1517, allocations: 23.92 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1517, allocations: 31.73 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1519, allocations: 107.5 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1519, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1519, allocations: 0 / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1519, 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.0005406/0.1525, allocations: 426.6 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1525, allocations: 11.89 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1526, allocations: 16.78 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1528, allocations: 212 kB / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1528, allocations: 384 / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1528, allocations: 384 / 0.491 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.153, allocations: 61.8 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.153, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.153, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1531, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.1531, allocations: 23.98 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1535, allocations: 284.9 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1538, allocations: 46.5 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.1538, allocations: 16.95 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1539, allocations: 3.984 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1539, allocations: 30.56 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1539, allocations: 0 / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005508/0.1544, allocations: 157.3 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1545, allocations: 51.41 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1547, allocations: 274.2 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1548, allocations: 25.7 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1548, allocations: 112.1 kB / 0.4921 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1549, allocations: 7.906 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.1549, allocations: 17.72 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.155, allocations: 330.8 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.1551, allocations: 19.98 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.1552, allocations: 23.97 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1553, allocations: 44.97 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1553, allocations: 0 / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001709/0.1555, allocations: 85.58 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1555, allocations: 15.98 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1555, allocations: 3.938 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1556, allocations: 0 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.1556, allocations: 8 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1556, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1557, allocations: 3.984 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1557, allocations: 7.938 kB / 0.4926 GB, free: 6.715 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.194e-05/0.1558, allocations: 141.6 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.1558, allocations: 19.91 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1561, allocations: 94.64 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1561, allocations: 0 / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1561, allocations: 0 / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1561, allocations: 0 / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1565, allocations: 362.4 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1565, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.1566, allocations: 19.98 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1566, allocations: 288 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1566, allocations: 192 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.1566, allocations: 7.938 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1566, allocations: 0 / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1568, allocations: 191.3 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1569, allocations: 89.02 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1569, allocations: 4 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.157, allocations: 11.92 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.157, allocations: 4 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1571, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1572, allocations: 203.2 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1572, allocations: 0 / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1575, allocations: 15.92 kB / 0.4937 GB, free: 5.465 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.0009042/0.1584, allocations: 412.2 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1586, allocations: 47.95 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1586, allocations: 0 / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.1587, allocations: 27.92 kB / 0.4942 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1591, allocations: 23.61 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.1596, allocations: 270.3 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1599, allocations: 0.7119 MB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.1599, allocations: 4 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1599, allocations: 11.44 kB / 0.4952 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1599, allocations: 0 / 0.4952 GB, free: 3.949 MB / 382.1 MB Notification: Performance of Templates: time 0.003533/0.1635, allocations: 1.152 MB / 0.4963 GB, free: 2.801 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches