Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 109.3 kB / 17.03 MB, free: 6.102 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.00126/0.00126, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.729/1.729, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2351/0.2351, allocations: 43.52 MB / 314.7 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.001521/0.001521, allocations: 71.22 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.003217/0.1299, allocations: 1.566 MB / 443.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006168/0.1306, allocations: 343.5 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.1306, allocations: 0 / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1309, allocations: 27.84 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.1311, allocations: 31.86 kB / 443.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1314, allocations: 95.73 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.1315, allocations: 51.91 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1316, allocations: 28.09 kB / 444.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.1317, allocations: 27.8 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1318, allocations: 19.92 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1318, allocations: 4 kB / 444.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1319, allocations: 55.91 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.132, allocations: 15.98 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.132, allocations: 15.88 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1322, allocations: 95.7 kB / 444.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1322, allocations: 3.938 kB / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1322, allocations: 0 / 444.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1322, allocations: 4 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004177/0.1326, allocations: 375.2 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1327, allocations: 8.031 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1327, allocations: 12.78 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1329, allocations: 188.3 kB / 444.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1329, allocations: 8.375 kB / 444.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1329, allocations: 4.375 kB / 444.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1331, allocations: 79.25 kB / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1331, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1331, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1331, allocations: 0 / 445 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.1332, allocations: 27.97 kB / 445 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.1335, allocations: 292.9 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.239e-05/0.1336, allocations: 38.56 kB / 445.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.1337, allocations: 20.8 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1337, allocations: 4.078 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1337, allocations: 34.56 kB / 445.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1337, allocations: 7.938 kB / 445.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005181/0.1342, allocations: 161.2 kB / 445.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1343, allocations: 77.11 kB / 445.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1344, allocations: 136.8 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1344, allocations: 25.7 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1345, allocations: 84.14 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1345, allocations: 27.66 kB / 445.9 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1345, allocations: 21.7 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.1346, allocations: 322.8 kB / 446.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.1347, allocations: 23.97 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.1347, allocations: 33.7 kB / 446.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1348, allocations: 60.86 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1349, allocations: 0 / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001496/0.135, allocations: 89.84 kB / 446.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.135, allocations: 8 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.135, allocations: 4 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1351, allocations: 0 / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.1351, allocations: 15.98 kB / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1352, allocations: 0 / 446.5 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.1352, allocations: 7.984 kB / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1352, allocations: 7.938 kB / 446.5 MB, free: 1.34 MB / 318.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 (6): * Single equations (assignments): 6 * 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 6.203e-05/0.1353, allocations: 117.8 kB / 446.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.1353, allocations: 7.906 kB / 446.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.1355, allocations: 106 kB / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1355, allocations: 0 / 446.7 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1356, allocations: 4 kB / 446.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1356, allocations: 0 / 446.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.1359, allocations: 358.5 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1359, allocations: 11.86 kB / 447.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.136, allocations: 12 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.136, allocations: 0 / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.136, allocations: 4 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.136, allocations: 3.938 kB / 447.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.136, allocations: 3.984 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1362, allocations: 187.4 kB / 447.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.345e-05/0.1362, allocations: 85.02 kB / 447.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1362, allocations: 4.125 kB / 447.4 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.1363, allocations: 11.94 kB / 447.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.1363, allocations: 8.266 kB / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1364, allocations: 0 / 447.4 MB, free: 332 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.1364, allocations: 107.2 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1364, allocations: 4 kB / 447.5 MB, free: 220 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1367, allocations: 27.98 kB / 447.5 MB, free: 192 kB / 318.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 (6): * Single equations (assignments): 6 * 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.001019/0.1377, allocations: 452.7 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1379, allocations: 55.97 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1379, allocations: 0 / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.138, allocations: 39.91 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1384, allocations: 13.19 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.1388, allocations: 161.5 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1391, allocations: 0.7001 MB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.1392, allocations: 11.98 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.1392, allocations: 19.42 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1392, allocations: 0 / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of Templates: time 0.004248/0.1435, allocations: 1.459 MB / 450.4 MB, free: 13.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches