Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 115.9 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.001293/0.001293, allocations: 194.4 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.447/1.447, 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.2104/0.2104, allocations: 43.51 MB / 314.8 MB, free: 480 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.001673/0.001673, allocations: 67.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1153, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003179/0.1185, allocations: 1.547 MB / 0.4901 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006635/0.1192, allocations: 323.5 kB / 0.4904 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.1193, allocations: 4 kB / 0.4904 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1195, allocations: 19.86 kB / 0.4904 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1197, allocations: 39.78 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.12, allocations: 75.78 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1202, allocations: 47.91 kB / 0.4905 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1203, allocations: 19.91 kB / 0.4906 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.1203, allocations: 23.86 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.1204, allocations: 19.92 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1204, allocations: 4 kB / 0.4906 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.1205, allocations: 28 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.1206, allocations: 15.91 kB / 0.4906 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.1206, allocations: 19.88 kB / 0.4907 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1208, allocations: 71.73 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1208, allocations: 4 kB / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1208, allocations: 0 / 0.4907 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1208, allocations: 0 / 0.4907 GB, free: 9.559 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.0004619/0.1213, allocations: 387.1 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1213, allocations: 11.89 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1214, allocations: 8.844 kB / 0.4911 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1216, allocations: 188 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1216, allocations: 4.375 kB / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.1216, allocations: 384 / 0.4913 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.1217, allocations: 49.81 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1218, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1218, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1218, allocations: 0 / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.1219, allocations: 31.92 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.1222, allocations: 276.8 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1225, allocations: 38.56 kB / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.1225, allocations: 20.94 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1225, allocations: 0 / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1226, allocations: 38.5 kB / 0.4917 GB, free: 8.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.035e-05/0.1226, allocations: 3.984 kB / 0.4917 GB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005437/0.1231, allocations: 137.4 kB / 0.4919 GB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1232, allocations: 51.41 kB / 0.4919 GB, free: 8.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1233, allocations: 138.1 kB / 0.4921 GB, free: 8.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1234, allocations: 33.7 kB / 0.4921 GB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.1234, allocations: 96.06 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1234, allocations: 23.66 kB / 0.4922 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1235, allocations: 17.72 kB / 0.4922 GB, free: 7.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1236, allocations: 318.8 kB / 0.4925 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.1237, allocations: 19.98 kB / 0.4925 GB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.1237, allocations: 15.98 kB / 0.4926 GB, free: 7.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1239, allocations: 48.83 kB / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1239, allocations: 0 / 0.4926 GB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.1241, allocations: 85.55 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1241, allocations: 4 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1241, allocations: 0 / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1241, allocations: 0 / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.1242, allocations: 15.98 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1242, allocations: 0 / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.1242, allocations: 8 kB / 0.4927 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1242, allocations: 0 / 0.4927 GB, free: 7.305 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.722e-05/0.1243, allocations: 125.7 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.1244, allocations: 7.906 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.1246, allocations: 97.89 kB / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1246, allocations: 0 / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1246, allocations: 0 / 0.4929 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1246, allocations: 4.312 kB / 0.4929 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.125, allocations: 346.4 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.125, allocations: 0 / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.1251, allocations: 11.98 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1251, allocations: 0 / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1251, allocations: 4 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1251, allocations: 3.938 kB / 0.4933 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1251, allocations: 3.938 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1253, allocations: 175.5 kB / 0.4935 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1254, allocations: 85 kB / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1254, allocations: 0 / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.1255, allocations: 7.938 kB / 0.4936 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1255, allocations: 11.98 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1255, allocations: 0 / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.953e-05/0.1256, allocations: 111.3 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1256, allocations: 3.938 kB / 0.4937 GB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1259, allocations: 8 kB / 0.4937 GB, free: 6.207 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.0008705/0.1268, allocations: 406.2 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1269, allocations: 47.91 kB / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.127, allocations: 0 / 0.4941 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.1271, allocations: 31.97 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1274, allocations: 19.86 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.1278, allocations: 199 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1281, allocations: 0.6923 MB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1281, allocations: 11.44 kB / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1281, allocations: 0 / 0.495 GB, free: 4.789 MB / 382.1 MB Notification: Performance of Templates: time 0.002966/0.1311, allocations: 1.372 MB / 0.4964 GB, free: 3.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches