Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 102.9 kB / 16.64 MB, free: 6.82 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.001132/0.001132, allocations: 193.9 kB / 17.56 MB, free: 5.938 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.443/1.443, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.2184/0.2184, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001476/0.001476, allocations: 62.41 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 57.79 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002876/0.1273, allocations: 1.659 MB / 442.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005645/0.1279, allocations: 351.5 kB / 442.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.128, allocations: 4 kB / 442.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1285, allocations: 451.2 kB / 443.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.1288, allocations: 239.6 kB / 443.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.1292, allocations: 151.2 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1293, allocations: 163.6 kB / 443.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1295, allocations: 28.11 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.1296, allocations: 103.8 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1298, allocations: 215.6 kB / 444 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1298, allocations: 7.938 kB / 444 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.1299, allocations: 35.98 kB / 444 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.13, allocations: 87.67 kB / 444.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.1301, allocations: 99 kB / 444.2 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1303, allocations: 183.8 kB / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1303, allocations: 0 / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1304, allocations: 4 kB / 444.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1304, allocations: 0 / 444.4 MB, free: 3.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006608/0.131, allocations: 0.6328 MB / 445 MB, free: 2.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1311, allocations: 15.89 kB / 445 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.1311, allocations: 40.38 kB / 445.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1314, allocations: 296.2 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1314, allocations: 384 / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.1314, allocations: 8.375 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1316, allocations: 57.61 kB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1316, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1316, allocations: 0 / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1316, allocations: 7.938 kB / 445.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.1317, allocations: 31.92 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1321, allocations: 396.6 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1324, allocations: 42.56 kB / 445.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1324, allocations: 20.94 kB / 445.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1325, allocations: 3.938 kB / 445.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.1325, allocations: 30.56 kB / 446 MB, free: 1.898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1325, allocations: 4 kB / 446 MB, free: 1.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005729/0.1331, allocations: 239.9 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1331, allocations: 51.41 kB / 446.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.1337, allocations: 0.8613 MB / 447.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1337, allocations: 29.7 kB / 447.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1338, allocations: 220.1 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1338, allocations: 15.66 kB / 447.4 MB, free: 460 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.1339, allocations: 21.72 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.1339, allocations: 366.8 kB / 447.7 MB, free: 56 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.134, allocations: 19.98 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.1341, allocations: 20.17 kB / 447.8 MB, free: 16 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1342, allocations: 56.98 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1342, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.1345, allocations: 129.1 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1345, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1345, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1346, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.1346, allocations: 15.98 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1346, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.1347, allocations: 7.938 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1347, allocations: 0 / 448 MB, free: 15.79 MB / 334.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.0002063/0.1349, allocations: 225.7 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.135, allocations: 43.44 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.1353, allocations: 141 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1353, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1353, allocations: 4 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1353, allocations: 3.938 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1359, allocations: 462.5 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1359, allocations: 3.938 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1359, allocations: 12.19 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.136, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.136, allocations: 11.88 kB / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.136, allocations: 0 / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.136, allocations: 3.984 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1362, allocations: 211 kB / 449.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1363, allocations: 112.6 kB / 449.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1364, allocations: 7.938 kB / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.1364, allocations: 4 kB / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1365, allocations: 0 / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1365, allocations: 7.984 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005679/0.1371, allocations: 0.6472 MB / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1371, allocations: 0 / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1373, allocations: 28 kB / 449.9 MB, free: 13.78 MB / 334.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.0009473/0.1383, allocations: 401.3 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1385, allocations: 59.89 kB / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1385, allocations: 0 / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.1386, allocations: 27.92 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.139, allocations: 29.23 kB / 450.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1402, allocations: 0.91 MB / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1406, allocations: 0.8241 MB / 452.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.1407, allocations: 15.42 kB / 452.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1407, allocations: 0 / 452.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Templates: time 0.006909/0.1476, allocations: 3.712 MB / 455.9 MB, free: 7.824 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches