Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009068, allocations: 98.23 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.239/0.239, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.363e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1552, allocations: 58.87 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.6011, allocations: 86.43 MB / 0.5503 GB, free: 8.402 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.6013, allocations: 75.89 kB / 0.5504 GB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.615, allocations: 7.804 MB / 0.558 GB, free: 1.688 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6151, allocations: 0 / 0.558 GB, free: 1.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.6151, allocations: 12 kB / 0.558 GB, free: 1.676 MB / 362.7 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.0004355/0.6156, allocations: 0.548 MB / 0.5586 GB, free: 1.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6156, allocations: 8.031 kB / 0.5586 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.6157, allocations: 47.48 kB / 0.5586 GB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.6161, allocations: 338.8 kB / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.6161, allocations: 4 kB / 0.559 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6161, allocations: 0 / 0.559 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.378e-05/0.6162, allocations: 22.67 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.836e-05/0.6163, allocations: 49.25 kB / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6163, allocations: 0 / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6163, allocations: 0 / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6163, allocations: 3.953 kB / 0.559 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.6169, allocations: 442.2 kB / 0.5595 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.479e-05/0.6169, allocations: 33.7 kB / 0.5595 GB, free: 188 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.617, allocations: 16.19 kB / 0.5595 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.617, allocations: 7.984 kB / 0.5595 GB, free: 164 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.617, allocations: 34.56 kB / 0.5595 GB, free: 120 kB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.617, allocations: 0 / 0.5595 GB, free: 120 kB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005398/0.6176, allocations: 225.6 kB / 0.5598 GB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6176, allocations: 55.41 kB / 0.5598 GB, free: 15.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.6187, allocations: 0.7577 MB / 0.5605 GB, free: 15.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.6187, allocations: 25.7 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.6189, allocations: 214.4 kB / 0.5608 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.6189, allocations: 23.45 kB / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.6189, allocations: 0 / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.6191, allocations: 355.5 kB / 0.5611 GB, free: 14.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.6191, allocations: 22.73 kB / 0.5612 GB, free: 14.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.6192, allocations: 19.12 kB / 0.5612 GB, free: 14.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.6192, allocations: 23.17 kB / 0.5612 GB, free: 14.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6192, allocations: 0 / 0.5612 GB, free: 14.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.6194, allocations: 118.9 kB / 0.5613 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6194, allocations: 15.98 kB / 0.5613 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6194, allocations: 4 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6195, allocations: 3.953 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.6196, allocations: 23.86 kB / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6196, allocations: 4 kB / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.6197, allocations: 15.92 kB / 0.5614 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6198, allocations: 8 kB / 0.5614 GB, free: 14.52 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.266e-05/0.6198, allocations: 101 kB / 0.5615 GB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.6199, allocations: 43.44 kB / 0.5615 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.6202, allocations: 139.3 kB / 0.5617 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.6202, allocations: 7.953 kB / 0.5617 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6202, allocations: 0 / 0.5617 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6202, allocations: 0 / 0.5617 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.6209, allocations: 0.5789 MB / 0.5622 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6209, allocations: 0 / 0.5622 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.621, allocations: 31.84 kB / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.621, allocations: 0 / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.621, allocations: 7.953 kB / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.621, allocations: 0 / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.621, allocations: 0 / 0.5623 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.6212, allocations: 216 kB / 0.5625 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.6214, allocations: 163.3 kB / 0.5626 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.6215, allocations: 0 / 0.5626 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6216, allocations: 19.94 kB / 0.5626 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.6216, allocations: 4 kB / 0.5627 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.6217, allocations: 0 / 0.5627 GB, free: 13.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006036/0.6223, allocations: 0.6093 MB / 0.5632 GB, free: 12.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6223, allocations: 0 / 0.5632 GB, free: 12.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.6226, allocations: 63.98 kB / 0.5633 GB, free: 12.78 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000846/0.6234, allocations: 339.2 kB / 0.5636 GB, free: 12.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.6236, allocations: 52.48 kB / 0.5637 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6236, allocations: 0 / 0.5637 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.6236, allocations: 41.55 kB / 0.5637 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.6239, allocations: 19.64 kB / 0.5637 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.625, allocations: 0.7282 MB / 0.5645 GB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6255, allocations: 0.8343 MB / 0.5653 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.6256, allocations: 52.94 kB / 0.5653 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.6257, allocations: 23.44 kB / 0.5653 GB, free: 10.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6257, allocations: 0 / 0.5653 GB, free: 10.82 MB / 378.7 MB Notification: Performance of Templates: time 0.005644/0.6314, allocations: 2.222 MB / 0.5675 GB, free: 8.609 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches