Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001187, allocations: 110 kB / 18.3 MB, free: 4.84 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.001274/0.001274, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.386/1.386, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.203/0.203, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 69.48 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003882/0.1268, allocations: 1.631 MB / 471.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.1277, allocations: 431.1 kB / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.1277, allocations: 0 / 472 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.1281, allocations: 67.77 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1284, allocations: 63.75 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.1288, allocations: 127.6 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.129, allocations: 83.75 kB / 472.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1291, allocations: 15.98 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1292, allocations: 35.91 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1293, allocations: 51.81 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1293, allocations: 4 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1294, allocations: 47.98 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.423e-05/0.1295, allocations: 23.92 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1296, allocations: 35.73 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1298, allocations: 99.7 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1298, allocations: 3.938 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1298, allocations: 3.938 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1299, allocations: 0 / 472.6 MB, free: 11.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005674/0.1304, allocations: 415.3 kB / 473 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1305, allocations: 8.031 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.1305, allocations: 16.75 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1308, allocations: 196.1 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1308, allocations: 8.375 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1308, allocations: 384 / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.131, allocations: 73.67 kB / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.131, allocations: 0 / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.131, allocations: 8 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.131, allocations: 3.984 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1312, allocations: 43.95 kB / 473.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1316, allocations: 300.7 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.1319, allocations: 58.55 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.1319, allocations: 24.97 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.132, allocations: 4 kB / 473.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.132, allocations: 30.56 kB / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.132, allocations: 0 / 473.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001426/0.1334, allocations: 400.7 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1335, allocations: 55.34 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1337, allocations: 206.2 kB / 474.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1337, allocations: 25.7 kB / 474.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1338, allocations: 104 kB / 474.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1338, allocations: 39.47 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1339, allocations: 25.7 kB / 474.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.134, allocations: 322.8 kB / 474.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1342, allocations: 43.97 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1343, allocations: 39.97 kB / 475 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.1345, allocations: 100.8 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1345, allocations: 0 / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00031/0.1349, allocations: 145.7 kB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1349, allocations: 4 kB / 475.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1349, allocations: 0 / 475.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1349, allocations: 4 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.135, allocations: 27.92 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1351, allocations: 0.5625 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.1351, allocations: 15.98 kB / 475.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1351, allocations: 4 kB / 475.3 MB, free: 8.723 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 (11): * Single equations (assignments): 11 * 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.0001191/0.1353, allocations: 133.8 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1353, allocations: 11.81 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.1357, allocations: 170.3 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1357, allocations: 3.938 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1357, allocations: 0 / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1357, allocations: 7.938 kB / 475.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.1364, allocations: 472 kB / 476.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1364, allocations: 4 kB / 476.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.1366, allocations: 23.98 kB / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1366, allocations: 0 / 476.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1366, allocations: 4 kB / 476.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1366, allocations: 3.984 kB / 476.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1366, allocations: 3.938 kB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.1371, allocations: 257 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1372, allocations: 81.02 kB / 476.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1373, allocations: 7.984 kB / 476.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1374, allocations: 8 kB / 476.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1375, allocations: 11.98 kB / 476.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1375, allocations: 8 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1376, allocations: 155.2 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 0 / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1379, allocations: 31.98 kB / 476.7 MB, free: 7.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001092/0.139, allocations: 454.3 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003702/0.1394, allocations: 107.8 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1394, allocations: 0 / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1396, allocations: 67.97 kB / 477.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.14, allocations: 27.92 kB / 477.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.1406, allocations: 317.8 kB / 477.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1409, allocations: 0.7041 MB / 478.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.141, allocations: 19.42 kB / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.141, allocations: 0 / 478.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Templates: time 0.004269/0.1453, allocations: 1.921 MB / 480.3 MB, free: 3.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches