Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 107.8 kB / 16.64 MB, free: 6.367 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.001275/0.001274, allocations: 187.5 kB / 17.56 MB, free: 5.801 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.431/1.431, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2185/0.2185, allocations: 43.51 MB / 314.3 MB, free: 0.707 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.001773/0.001773, allocations: 68.59 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1293, allocations: 57.79 MB / 440.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003528/0.1329, allocations: 1.606 MB / 442.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006482/0.1336, allocations: 328.1 kB / 442.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.1337, allocations: 0 / 442.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.134, allocations: 27.84 kB / 442.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1342, allocations: 23.92 kB / 442.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1346, allocations: 87.45 kB / 442.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1347, allocations: 51.91 kB / 442.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1348, allocations: 23.92 kB / 442.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.1349, allocations: 19.86 kB / 442.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.135, allocations: 19.86 kB / 442.8 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.135, allocations: 7.938 kB / 442.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1351, allocations: 35.98 kB / 442.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.1352, allocations: 11.92 kB / 442.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1352, allocations: 23.86 kB / 442.9 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1354, allocations: 55.86 kB / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1354, allocations: 0 / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1354, allocations: 0 / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1354, allocations: 4 kB / 443 MB, free: 5.023 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.000444/0.1359, allocations: 379.2 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1359, allocations: 11.89 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.136, allocations: 8.844 kB / 443.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1361, allocations: 188.8 kB / 443.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1361, allocations: 384 / 443.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.1362, allocations: 8.375 kB / 443.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1363, allocations: 45.81 kB / 443.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1363, allocations: 4 kB / 443.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1364, allocations: 3.984 kB / 443.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1364, allocations: 4 kB / 443.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.1365, allocations: 19.98 kB / 443.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1368, allocations: 288.8 kB / 443.9 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1371, allocations: 50.55 kB / 444 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.1371, allocations: 12.86 kB / 444 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1371, allocations: 0 / 444 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.1372, allocations: 38.56 kB / 444 MB, free: 3.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.1372, allocations: 0 / 444 MB, free: 3.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005436/0.1377, allocations: 145.5 kB / 444.2 MB, free: 3.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1378, allocations: 59.34 kB / 444.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1379, allocations: 160.6 kB / 444.4 MB, free: 3.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.1379, allocations: 25.7 kB / 444.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.138, allocations: 92.14 kB / 444.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.138, allocations: 23.64 kB / 444.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.138, allocations: 13.72 kB / 444.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.1381, allocations: 326.8 kB / 444.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.1382, allocations: 23.98 kB / 444.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.1382, allocations: 23.98 kB / 444.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1383, allocations: 52.83 kB / 444.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1383, allocations: 192 / 444.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.1385, allocations: 89.66 kB / 445 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1385, allocations: 4 kB / 445 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1385, allocations: 7.984 kB / 445 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1386, allocations: 4 kB / 445 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.1386, allocations: 15.92 kB / 445.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1386, allocations: 3.938 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.1387, allocations: 4 kB / 445.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1387, allocations: 3.938 kB / 445.1 MB, free: 2.703 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.059e-05/0.1388, allocations: 125.8 kB / 445.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1388, allocations: 7.906 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.139, allocations: 93.97 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.139, allocations: 0 / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.139, allocations: 4 kB / 445.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.139, allocations: 0 / 445.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.1394, allocations: 354.4 kB / 445.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1394, allocations: 0 / 445.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.1394, allocations: 19.98 kB / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1394, allocations: 0 / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1394, allocations: 4 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1395, allocations: 3.938 kB / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1395, allocations: 0 / 445.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1396, allocations: 187.5 kB / 445.8 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.1397, allocations: 81.02 kB / 445.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1397, allocations: 4 kB / 445.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1398, allocations: 15.88 kB / 445.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1398, allocations: 7.984 kB / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1398, allocations: 0 / 446 MB, free: 1.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.1399, allocations: 115.2 kB / 446.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1399, allocations: 0 / 446.1 MB, free: 1.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1401, allocations: 20 kB / 446.1 MB, free: 1.578 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.00089/0.141, allocations: 404.6 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1412, allocations: 59.91 kB / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1412, allocations: 0 / 446.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.1413, allocations: 27.97 kB / 446.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1417, allocations: 12 kB / 446.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.142, allocations: 227.3 kB / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.1422, allocations: 0.6963 MB / 447.5 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1423, allocations: 11.44 kB / 447.5 MB, free: 176 kB / 318.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1423, allocations: 4 kB / 447.5 MB, free: 172 kB / 318.1 MB Notification: Performance of Templates: time 0.003497/0.1458, allocations: 1.415 MB / 448.9 MB, free: 14.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches