Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.3 kB / 16.41 MB, free: 6.457 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.001393/0.001393, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2141/0.2141, allocations: 43.51 MB / 314.1 MB, free: 448 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.001668/0.001668, allocations: 73.47 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1248, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.003798/0.1287, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.1294, allocations: 339.4 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.1295, allocations: 0 / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.1299, allocations: 111.7 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1303, allocations: 75.78 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1307, allocations: 95.81 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1309, allocations: 79.8 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1311, allocations: 11.98 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.1312, allocations: 43.83 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1313, allocations: 59.88 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1313, allocations: 0 / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.1314, allocations: 31.98 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1315, allocations: 27.8 kB / 0.4902 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1316, allocations: 35.75 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1318, allocations: 95.7 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1318, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1318, allocations: 0 / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1318, allocations: 0 / 0.4904 GB, free: 9.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005411/0.1324, allocations: 410.8 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1324, allocations: 15.83 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.1325, allocations: 12.84 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1327, allocations: 200 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1327, allocations: 8.312 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1328, allocations: 384 / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1329, allocations: 57.8 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1329, allocations: 0 / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1329, allocations: 0 / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.133, allocations: 3.984 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.1331, allocations: 23.98 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1335, allocations: 292.9 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1337, allocations: 50.48 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.1338, allocations: 12.86 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1338, allocations: 4 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1338, allocations: 30.66 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1338, allocations: 0 / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005903/0.1344, allocations: 165.1 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.1345, allocations: 55.41 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1348, allocations: 242.6 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1348, allocations: 29.7 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1349, allocations: 104.1 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.135, allocations: 15.8 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.135, allocations: 21.72 kB / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1352, allocations: 330.8 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.1353, allocations: 15.98 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1354, allocations: 23.98 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1355, allocations: 52.7 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1355, allocations: 0 / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002147/0.1357, allocations: 93.56 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1358, allocations: 8 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1358, allocations: 0 / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1358, allocations: 0 / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.1359, allocations: 11.98 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1359, allocations: 3.984 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.136, allocations: 11.84 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.136, allocations: 4 kB / 0.4926 GB, free: 6.723 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 (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 0.0001185/0.1361, allocations: 145.6 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1362, allocations: 7.906 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.1365, allocations: 106.6 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1365, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1365, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1365, allocations: 320 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.137, allocations: 382.4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.137, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.1371, allocations: 8 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1371, allocations: 0 / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1371, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1371, allocations: 7.922 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1371, allocations: 0 / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1373, allocations: 187.3 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1374, allocations: 92.94 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1374, allocations: 0 / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.45e-05/0.1375, allocations: 7.938 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.1376, allocations: 3.984 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1376, allocations: 8 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1378, allocations: 175.2 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1378, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.138, allocations: 23.98 kB / 0.4937 GB, free: 5.477 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 (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.0009404/0.139, allocations: 397 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1392, allocations: 51.95 kB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1392, allocations: 0 / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.1393, allocations: 31.92 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1397, allocations: 23.83 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1403, allocations: 266.2 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1408, allocations: 0.7041 MB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.1408, allocations: 11.98 kB / 0.4951 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.1409, allocations: 11.44 kB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1409, allocations: 0 / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of Templates: time 0.0048/0.1457, allocations: 1.148 MB / 0.4962 GB, free: 2.828 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches