Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 103 kB / 16.27 MB, free: 5.93 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.001472/0.001472, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.777/1.777, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2284/0.2284, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001566/0.001567, allocations: 67.53 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 57.8 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003304/0.1427, allocations: 1.547 MB / 442.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006271/0.1433, allocations: 319.5 kB / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.1434, allocations: 0 / 442.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1437, allocations: 95.73 kB / 442.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1439, allocations: 71.78 kB / 442.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1442, allocations: 99.56 kB / 442.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1443, allocations: 63.89 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1444, allocations: 15.92 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.1445, allocations: 35.91 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.1446, allocations: 51.81 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1446, allocations: 4 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.1447, allocations: 35.98 kB / 442.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1448, allocations: 19.86 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1448, allocations: 27.75 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1449, allocations: 95.7 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.145, allocations: 0 / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.145, allocations: 0 / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.145, allocations: 0 / 443 MB, free: 4.418 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004438/0.1454, allocations: 403 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1455, allocations: 11.89 kB / 443.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1455, allocations: 12.84 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1457, allocations: 200.7 kB / 443.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1457, allocations: 4.375 kB / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1457, allocations: 384 / 443.6 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1459, allocations: 61.69 kB / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1459, allocations: 0 / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1459, allocations: 0 / 443.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1459, allocations: 4 kB / 443.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.146, allocations: 27.97 kB / 443.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1463, allocations: 288.9 kB / 444 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1465, allocations: 46.5 kB / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1466, allocations: 24.86 kB / 444 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1466, allocations: 4.078 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.1466, allocations: 30.56 kB / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1466, allocations: 3.938 kB / 444.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005531/0.1472, allocations: 153.2 kB / 444.2 MB, free: 3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1472, allocations: 55.41 kB / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1474, allocations: 219.6 kB / 444.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1474, allocations: 29.7 kB / 444.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.1475, allocations: 104 kB / 444.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1475, allocations: 19.75 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.1475, allocations: 17.72 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.1476, allocations: 326.8 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1477, allocations: 23.97 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.1477, allocations: 23.98 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1479, allocations: 52.77 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1479, allocations: 0 / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.148, allocations: 89.56 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1481, allocations: 4 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1481, allocations: 0 / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1481, allocations: 4 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.365e-05/0.1482, allocations: 12 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1482, allocations: 0 / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.611e-05/0.1482, allocations: 7.984 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1482, allocations: 0 / 445.2 MB, free: 1.977 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 (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 6.551e-05/0.1483, allocations: 133.7 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1483, allocations: 11.81 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.1486, allocations: 114.6 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1486, allocations: 4.297 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1486, allocations: 3.938 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1486, allocations: 0 / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.1489, allocations: 366.4 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1489, allocations: 0 / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.149, allocations: 11.98 kB / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.149, allocations: 0 / 445.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.149, allocations: 4 kB / 445.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.149, allocations: 7.938 kB / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.149, allocations: 0 / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.1492, allocations: 183.4 kB / 446 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.1492, allocations: 85.2 kB / 446.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1492, allocations: 4 kB / 446.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.1493, allocations: 7.938 kB / 446.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1494, allocations: 15.92 kB / 446.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1494, allocations: 3.984 kB / 446.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1495, allocations: 168.2 kB / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1497, allocations: 19.94 kB / 446.3 MB, free: 0.7539 MB / 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 (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.000886/0.1506, allocations: 404.2 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1508, allocations: 59.95 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1508, allocations: 0 / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.1509, allocations: 27.92 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1513, allocations: 15.98 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1517, allocations: 242.8 kB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.152, allocations: 0.7039 MB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.1521, allocations: 11.98 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1521, allocations: 11.44 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1521, allocations: 7.938 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Templates: time 0.003968/0.1561, allocations: 1.132 MB / 448.9 MB, free: 14.19 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches