Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001144/0.001145, allocations: 187 kB / 19.34 MB, free: 3.641 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.472/1.472, allocations: 222.9 MB / 243 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.2529/0.2529, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 62.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1179, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.00236/0.1202, allocations: 1.638 MB / 472.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.1209, allocations: 451 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.121, allocations: 0 / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1211, allocations: 63.72 kB / 472.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1213, allocations: 47.83 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1216, allocations: 179.3 kB / 473.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1218, allocations: 83.75 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.1218, allocations: 23.97 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.1219, allocations: 39.84 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.122, allocations: 35.84 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.122, allocations: 4 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.1221, allocations: 47.97 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1221, allocations: 27.86 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1222, allocations: 35.8 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1223, allocations: 107.6 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1223, allocations: 0 / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1223, allocations: 4 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1223, allocations: 0 / 473.5 MB, free: 10.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003521/0.1227, allocations: 403 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.504e-05/0.1227, allocations: 12.02 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.1228, allocations: 8.844 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1229, allocations: 200.6 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-06/0.1229, allocations: 384 / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1229, allocations: 11.94 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1231, allocations: 69.66 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1231, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.1231, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-06/0.1231, allocations: 0 / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1232, allocations: 43.91 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1236, allocations: 320.7 kB / 474.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1238, allocations: 62.58 kB / 474.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.1239, allocations: 32.97 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1239, allocations: 0 / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.1239, allocations: 34.55 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1239, allocations: 0 / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001192/0.1251, allocations: 425.1 kB / 475.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.1251, allocations: 55.41 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1253, allocations: 178.1 kB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1253, allocations: 25.7 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.1253, allocations: 108 kB / 475.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1254, allocations: 35.55 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.1254, allocations: 25.72 kB / 475.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.1255, allocations: 322.8 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1256, allocations: 59.89 kB / 475.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1257, allocations: 56.02 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.126, allocations: 128.7 kB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.126, allocations: 0 / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002851/0.1263, allocations: 165.4 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.078e-06/0.1263, allocations: 4 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1263, allocations: 3.938 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.1263, allocations: 0 / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.1264, allocations: 31.92 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1264, allocations: 4 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1265, allocations: 7.984 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1265, allocations: 4 kB / 476.3 MB, free: 7.887 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 (11): * Single equations (assignments): 11 * 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.827e-05/0.1266, allocations: 129.8 kB / 476.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1266, allocations: 7.906 kB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.127, allocations: 202.1 kB / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.127, allocations: 0 / 476.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.127, allocations: 3.984 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.127, allocations: 0 / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.1276, allocations: 500 kB / 477.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1276, allocations: 3.984 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.1277, allocations: 27.92 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1277, allocations: 4 kB / 477.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1277, allocations: 4 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1277, allocations: 0 / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1277, allocations: 4 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.128, allocations: 272.9 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1281, allocations: 89 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1281, allocations: 0 / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1282, allocations: 15.98 kB / 477.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.1282, allocations: 8.172 kB / 477.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1282, allocations: 12 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.18e-05/0.1283, allocations: 135.2 kB / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1283, allocations: 0 / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1286, allocations: 35.89 kB / 477.7 MB, free: 6.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.000855/0.1294, allocations: 472.3 kB / 478.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1297, allocations: 127.8 kB / 478.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1297, allocations: 0 / 478.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.1299, allocations: 68.02 kB / 478.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1301, allocations: 29.11 kB / 478.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1305, allocations: 291.6 kB / 478.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1307, allocations: 0.7158 MB / 479.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.1308, allocations: 28.53 kB / 479.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.1309, allocations: 15.44 kB / 479.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1309, allocations: 0 / 479.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of Templates: time 0.08634/0.2172, allocations: 1.595 MB / 481 MB, free: 3.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches