Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 116.4 kB / 17.09 MB, free: 5.988 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.001133/0.001133, allocations: 197.2 kB / 18.01 MB, free: 5.07 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.251/1.251, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1931/0.1931, allocations: 43.52 MB / 314.8 MB, free: 476 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.001348/0.001348, allocations: 69.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1115, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002815/0.1143, allocations: 1.566 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.115, allocations: 327.5 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.1151, allocations: 4 kB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.1154, allocations: 91.73 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1156, allocations: 67.73 kB / 0.4905 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1158, allocations: 71.84 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.116, allocations: 87.73 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1161, allocations: 24.16 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1161, allocations: 39.89 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1163, allocations: 51.83 kB / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1163, allocations: 0 / 0.4908 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.058e-05/0.1164, allocations: 27.98 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1165, allocations: 27.92 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.1165, allocations: 35.75 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1167, allocations: 107.6 kB / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1167, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1167, allocations: 0 / 0.491 GB, free: 9.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1167, allocations: 0 / 0.491 GB, free: 9.254 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005029/0.1172, allocations: 410.4 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1173, allocations: 15.88 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1173, allocations: 12.75 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1175, allocations: 196.1 kB / 0.4916 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1175, allocations: 12.38 kB / 0.4916 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1176, allocations: 8.359 kB / 0.4916 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1177, allocations: 57.56 kB / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1177, allocations: 0 / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1178, allocations: 4 kB / 0.4917 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1178, allocations: 0 / 0.4917 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.684e-05/0.1179, allocations: 39.89 kB / 0.4917 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1182, allocations: 308.7 kB / 0.492 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1183, allocations: 50.5 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1184, allocations: 20.97 kB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1184, allocations: 0 / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1185, allocations: 38.56 kB / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1185, allocations: 0 / 0.4921 GB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005874/0.1191, allocations: 193.1 kB / 0.4923 GB, free: 7.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1191, allocations: 51.41 kB / 0.4924 GB, free: 7.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1194, allocations: 239.5 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1194, allocations: 25.7 kB / 0.4926 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.1195, allocations: 104.1 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1195, allocations: 31.48 kB / 0.4927 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1195, allocations: 25.72 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1197, allocations: 326.8 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.1198, allocations: 23.97 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.1198, allocations: 23.98 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.12, allocations: 68.98 kB / 0.4932 GB, free: 6.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.12, allocations: 0 / 0.4932 GB, free: 6.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001795/0.1202, allocations: 101.6 kB / 0.4933 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1202, allocations: 8 kB / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1202, allocations: 0 / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1202, allocations: 0 / 0.4933 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1203, allocations: 15.98 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1203, allocations: 0 / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.1204, allocations: 11.92 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1204, allocations: 7.938 kB / 0.4933 GB, free: 6.652 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 (8): * Single equations (assignments): 8 * 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.473e-05/0.1205, allocations: 137.8 kB / 0.4935 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1205, allocations: 11.81 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1208, allocations: 115 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1208, allocations: 0 / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1208, allocations: 0 / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1208, allocations: 3.938 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.1213, allocations: 394.5 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1213, allocations: 3.938 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.1213, allocations: 15.98 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1214, allocations: 7.938 kB / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1214, allocations: 384 / 0.494 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1214, allocations: 3.984 kB / 0.494 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1214, allocations: 4 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1216, allocations: 203.3 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1217, allocations: 89 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1217, allocations: 3.938 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1218, allocations: 4 kB / 0.4943 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1218, allocations: 7.984 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1218, allocations: 4 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.122, allocations: 171.2 kB / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.122, allocations: 0 / 0.4945 GB, free: 5.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1222, allocations: 19.98 kB / 0.4945 GB, free: 5.363 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 (8): * Single equations (assignments): 8 * 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.000876/0.1231, allocations: 401.1 kB / 0.4949 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1233, allocations: 75.81 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1233, allocations: 0 / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.1234, allocations: 27.98 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1238, allocations: 31.78 kB / 0.495 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.1243, allocations: 295.6 kB / 0.4953 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1247, allocations: 0.708 MB / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1248, allocations: 15.42 kB / 0.496 GB, free: 3.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1248, allocations: 0 / 0.496 GB, free: 3.805 MB / 382.1 MB Notification: Performance of Templates: time 0.00346/0.1282, allocations: 1.696 MB / 0.4976 GB, free: 2.109 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches