Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008706, allocations: 97.38 kB / 18.01 MB, free: 5.73 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.0009568/0.0009568, allocations: 176.8 kB / 18.91 MB, free: 4.863 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.329/1.329, allocations: 223.3 MB / 242.9 MB, free: 14.49 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.2074/0.2074, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 13.53 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 61.91 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002323/0.1226, allocations: 1.278 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1242, allocations: 1 MB / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.1243, allocations: 0 / 475.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1245, allocations: 19.91 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1247, allocations: 31.91 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1251, allocations: 103.2 kB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1252, allocations: 55.84 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1253, allocations: 16 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.303e-05/0.1254, allocations: 15.92 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1256, allocations: 31.78 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1256, allocations: 0 / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1257, allocations: 43.98 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.881e-05/0.1258, allocations: 11.92 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.1258, allocations: 45.56 kB / 475.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.126, allocations: 63.91 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.126, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.126, allocations: 0 / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.126, allocations: 4 kB / 475.6 MB, free: 10.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004998/0.1265, allocations: 375.5 kB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1266, allocations: 8.031 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1266, allocations: 4.938 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1269, allocations: 192.1 kB / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1269, allocations: 384 / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1269, allocations: 384 / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1271, allocations: 75.52 kB / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.1271, allocations: 0 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1271, allocations: 0 / 476.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1271, allocations: 4 kB / 476.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.1272, allocations: 23.98 kB / 476.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.1276, allocations: 292.7 kB / 476.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1278, allocations: 46.5 kB / 476.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1279, allocations: 20.94 kB / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.128, allocations: 0 / 476.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.128, allocations: 38.56 kB / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.128, allocations: 0 / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006056/0.1286, allocations: 157.4 kB / 476.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1287, allocations: 81.09 kB / 476.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1288, allocations: 133.8 kB / 477 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1288, allocations: 29.69 kB / 477.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.1289, allocations: 92.14 kB / 477.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.1289, allocations: 15.66 kB / 477.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.129, allocations: 13.72 kB / 477.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.1291, allocations: 322.8 kB / 477.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.1291, allocations: 31.92 kB / 477.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.1292, allocations: 45.69 kB / 477.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1294, allocations: 56.86 kB / 477.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1294, allocations: 0 / 477.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1296, allocations: 85.67 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1296, allocations: 8 kB / 477.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1297, allocations: 3.938 kB / 477.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1297, allocations: 4 kB / 477.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1297, allocations: 19.92 kB / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1298, allocations: 0 / 477.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.1298, allocations: 8.234 kB / 477.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1298, allocations: 8 kB / 477.8 MB, free: 8.188 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 (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.844e-05/0.1299, allocations: 118.3 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.13, allocations: 7.906 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.1302, allocations: 109.9 kB / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1302, allocations: 0 / 478 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1302, allocations: 3.984 kB / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1302, allocations: 0 / 478 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.1307, allocations: 370.3 kB / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1307, allocations: 0 / 478.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.1308, allocations: 12 kB / 478.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1308, allocations: 3.984 kB / 478.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1308, allocations: 0 / 478.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1308, allocations: 3.938 kB / 478.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1308, allocations: 0 / 478.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.131, allocations: 191.5 kB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.1311, allocations: 85.02 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1311, allocations: 4 kB / 478.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.1312, allocations: 15.92 kB / 478.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.1312, allocations: 3.938 kB / 478.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1313, allocations: 4 kB / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.883e-05/0.1313, allocations: 110.4 kB / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1313, allocations: 0 / 478.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1316, allocations: 19.98 kB / 478.8 MB, free: 7.043 MB / 350.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.001051/0.1327, allocations: 446.2 kB / 479.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1329, allocations: 59.91 kB / 479.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1329, allocations: 0 / 479.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.133, allocations: 35.97 kB / 479.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1334, allocations: 12 kB / 479.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.1338, allocations: 206.3 kB / 479.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.134, allocations: 0.6965 MB / 480.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1341, allocations: 15.44 kB / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1341, allocations: 0 / 480.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of Templates: time 0.003602/0.1377, allocations: 1.578 MB / 481.8 MB, free: 4.125 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches