Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_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.001357/0.001357, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001427/0.001427, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.18 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 63.94 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003147/0.1086, allocations: 1.603 MB / 471.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1094, allocations: 423.1 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.1095, allocations: 4 kB / 472 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1098, allocations: 95.69 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.11, allocations: 67.78 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1103, allocations: 91.7 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1105, allocations: 95.8 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1106, allocations: 16 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.1107, allocations: 39.89 kB / 472.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.1108, allocations: 59.77 kB / 472.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1108, allocations: 4 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1109, allocations: 47.97 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.111, allocations: 31.86 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.111, allocations: 39.73 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.1112, allocations: 111.8 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1112, allocations: 4 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1113, allocations: 4 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1113, allocations: 0 / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004751/0.1117, allocations: 429.6 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1118, allocations: 8.031 kB / 473.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1118, allocations: 16.75 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.112, allocations: 208 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.112, allocations: 4.375 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1121, allocations: 4.375 kB / 473.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1122, allocations: 73.78 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1123, allocations: 4 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.1123, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1123, allocations: 0 / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1124, allocations: 43.97 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1128, allocations: 332.6 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.113, allocations: 62.55 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.113, allocations: 20.86 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1131, allocations: 7.922 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1131, allocations: 34.56 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1131, allocations: 4 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001009/0.1141, allocations: 305.4 kB / 474.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.1142, allocations: 55.41 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1144, allocations: 231.5 kB / 474.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1144, allocations: 25.7 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1145, allocations: 112 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1145, allocations: 47.36 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.1146, allocations: 21.72 kB / 474.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1147, allocations: 334.8 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.1148, allocations: 31.98 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.1149, allocations: 39.97 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1151, allocations: 99.64 kB / 475.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1151, allocations: 4 kB / 475.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002475/0.1153, allocations: 129.5 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1154, allocations: 4 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1154, allocations: 0 / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1154, allocations: 3.938 kB / 475.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1155, allocations: 35.92 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1155, allocations: 0 / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.362e-05/0.1156, allocations: 8 kB / 475.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1156, allocations: 0 / 475.3 MB, free: 8.73 MB / 350.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 (13): * Single equations (assignments): 13 * 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.372e-05/0.1157, allocations: 133.8 kB / 475.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1157, allocations: 7.906 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.1161, allocations: 167.1 kB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1161, allocations: 11.88 kB / 475.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1161, allocations: 4 kB / 475.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1161, allocations: 3.984 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.1167, allocations: 479.1 kB / 476.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1167, allocations: 0 / 476.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.1168, allocations: 27.98 kB / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1168, allocations: 0 / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1168, allocations: 0 / 476.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1168, allocations: 4 kB / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1168, allocations: 0 / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1171, allocations: 250.1 kB / 476.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1172, allocations: 88.92 kB / 476.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1172, allocations: 8 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1173, allocations: 4 kB / 476.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1174, allocations: 11.98 kB / 476.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.1174, allocations: 4 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1175, allocations: 176.2 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1175, allocations: 0 / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1178, allocations: 35.94 kB / 476.7 MB, free: 7.238 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009916/0.1188, allocations: 461.4 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.1191, allocations: 99.89 kB / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1191, allocations: 0 / 477.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1192, allocations: 55.91 kB / 477.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1196, allocations: 27.86 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.1201, allocations: 321.6 kB / 477.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1204, allocations: 0.7158 MB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.1204, allocations: 23.42 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1204, allocations: 4 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Templates: time 0.003765/0.1242, allocations: 1.998 MB / 480.4 MB, free: 3.676 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches