Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001522/0.001522, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.62/1.62, allocations: 205.1 MB / 223.2 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.2259/0.2259, allocations: 43.53 MB / 314.1 MB, free: 464 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.001262/0.001262, allocations: 72.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002764/0.1277, allocations: 1.542 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005814/0.1283, allocations: 327.4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.1284, allocations: 4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1287, allocations: 107.7 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1289, allocations: 71.78 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1292, allocations: 75.77 kB / 0.49 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1293, allocations: 71.88 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1294, allocations: 15.98 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1295, allocations: 39.83 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1296, allocations: 59.88 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1296, allocations: 4 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.1297, allocations: 35.92 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1298, allocations: 19.92 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.1298, allocations: 35.67 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.13, allocations: 91.59 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.13, allocations: 0 / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.13, allocations: 0 / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.13, allocations: 4 kB / 0.4903 GB, free: 9.305 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.0004742/0.1305, allocations: 414.7 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1306, allocations: 15.89 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1306, allocations: 12.84 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1308, allocations: 212 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1308, allocations: 384 / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1308, allocations: 4.375 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.131, allocations: 49.81 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.131, allocations: 4 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.131, allocations: 0 / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.131, allocations: 4 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.1311, allocations: 19.98 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.1314, allocations: 288.8 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1316, allocations: 38.56 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.1317, allocations: 16.86 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1317, allocations: 0 / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1318, allocations: 42.64 kB / 0.4914 GB, free: 8.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.836e-06/0.1318, allocations: 3.984 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005012/0.1323, allocations: 145.3 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1323, allocations: 59.41 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1325, allocations: 242.6 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1325, allocations: 29.7 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.1326, allocations: 104.1 kB / 0.492 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1326, allocations: 15.86 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1327, allocations: 21.66 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.1328, allocations: 326.8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.1328, allocations: 23.92 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.1329, allocations: 19.98 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.133, allocations: 44.83 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.133, allocations: 0 / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001626/0.1332, allocations: 81.62 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1332, allocations: 4 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1332, allocations: 3.984 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1333, allocations: 4 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.1333, allocations: 12 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1333, allocations: 3.938 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1334, allocations: 7.984 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1334, allocations: 0 / 0.4925 GB, free: 6.848 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 8.986e-05/0.1335, allocations: 141.6 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1335, allocations: 15.91 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1337, allocations: 94.64 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1338, allocations: 0 / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1338, allocations: 4.312 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1338, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.1342, allocations: 362.4 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1342, allocations: 0 / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.1342, allocations: 15.98 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1342, allocations: 0 / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1342, allocations: 4 kB / 0.4931 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1342, allocations: 3.938 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1342, allocations: 0 / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1344, allocations: 183.4 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1345, allocations: 85.05 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1345, allocations: 4 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.1346, allocations: 7.938 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1346, allocations: 7.984 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1346, allocations: 4 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1348, allocations: 179.2 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.135, allocations: 19.92 kB / 0.4936 GB, free: 5.629 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.0008537/0.1359, allocations: 404.5 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1361, allocations: 51.95 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1361, allocations: 3.938 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.1362, allocations: 23.98 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1364, allocations: 15.86 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1369, allocations: 258 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1372, allocations: 0.7115 MB / 0.495 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.018e-05/0.1372, allocations: 7.984 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.1372, allocations: 15.42 kB / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1372, allocations: 0 / 0.495 GB, free: 4.141 MB / 382.1 MB Notification: Performance of Templates: time 0.003398/0.1406, allocations: 1.14 MB / 0.4961 GB, free: 3.004 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches