Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.001247, allocations: 188.1 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.345/1.345, 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.2118/0.2118, allocations: 43.53 MB / 314.1 MB, free: 460 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.001451/0.001451, allocations: 67.91 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1164, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003463/0.1199, allocations: 1.546 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1207, allocations: 339.4 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.1208, allocations: 0 / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.121, allocations: 31.83 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1213, allocations: 31.84 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1216, allocations: 95.75 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1217, allocations: 51.91 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1219, allocations: 19.97 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.1219, allocations: 23.86 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.122, allocations: 15.92 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.122, allocations: 4 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.1221, allocations: 31.94 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.1222, allocations: 19.91 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1222, allocations: 19.88 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1224, allocations: 63.8 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1224, allocations: 3.938 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1224, allocations: 0 / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1224, allocations: 4 kB / 0.4901 GB, free: 9.496 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.0004636/0.1229, allocations: 375.2 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1229, allocations: 15.89 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.123, allocations: 8.844 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1232, allocations: 184.2 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1232, allocations: 8.375 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1232, allocations: 384 / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1233, allocations: 53.8 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1234, allocations: 4 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1234, allocations: 0 / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1234, allocations: 0 / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.1235, allocations: 23.98 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.1239, allocations: 288.7 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1241, allocations: 46.56 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1242, allocations: 16.94 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1242, allocations: 4 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1243, allocations: 34.56 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1243, allocations: 0 / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005626/0.1249, allocations: 141.4 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1249, allocations: 55.41 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.1251, allocations: 144.3 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1251, allocations: 25.7 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.1251, allocations: 92.14 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1252, allocations: 31.58 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1252, allocations: 17.72 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1254, allocations: 318.7 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.1254, allocations: 31.91 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.1255, allocations: 19.98 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1256, allocations: 52.83 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1256, allocations: 0 / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.1258, allocations: 81.66 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1258, allocations: 4 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1259, allocations: 4 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1259, allocations: 4.281 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.1259, allocations: 8 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.126, allocations: 3.938 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.126, allocations: 7.984 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.126, allocations: 0 / 0.4921 GB, free: 7.207 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 7.619e-05/0.1261, allocations: 125.7 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1261, allocations: 7.891 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1264, allocations: 102 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1264, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1264, allocations: 320 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.1264, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.1268, allocations: 362.3 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1268, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.1269, allocations: 12 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1269, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1269, allocations: 4 kB / 0.4927 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1269, allocations: 7.922 kB / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1269, allocations: 0 / 0.4927 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1271, allocations: 179.5 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.1272, allocations: 85 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1272, allocations: 4 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.1273, allocations: 7.938 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.1273, allocations: 11.98 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1273, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.178e-05/0.1274, allocations: 107.3 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1274, allocations: 0 / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.1277, allocations: 19.94 kB / 0.4931 GB, free: 6.082 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.000885/0.1286, allocations: 409.4 kB / 0.4935 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.1288, allocations: 51.95 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1288, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.1289, allocations: 31.92 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1292, allocations: 19.59 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.1296, allocations: 177.3 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1299, allocations: 0.7002 MB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.903e-05/0.1299, allocations: 8 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.13, allocations: 15.42 kB / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.13, allocations: 0 / 0.4945 GB, free: 4.668 MB / 382.1 MB Notification: Performance of Templates: time 0.003362/0.1334, allocations: 1.108 MB / 0.4956 GB, free: 3.562 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches