Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001586, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002745, allocations: 78.81 kB / 418.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.123, allocations: 62.45 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003105/0.1261, allocations: 1.612 MB / 482.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1272, allocations: 0.5455 MB / 482.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.1273, allocations: 0 / 482.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1276, allocations: 79.69 kB / 483 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1279, allocations: 99.59 kB / 483.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.1282, allocations: 111.7 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1284, allocations: 87.81 kB / 483.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1285, allocations: 15.98 kB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1286, allocations: 39.84 kB / 483.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1287, allocations: 59.81 kB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1287, allocations: 4 kB / 483.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.1288, allocations: 43.92 kB / 483.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1289, allocations: 19.92 kB / 483.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.129, allocations: 31.75 kB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1292, allocations: 107.7 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1292, allocations: 0 / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1292, allocations: 3.938 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1292, allocations: 0 / 483.6 MB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005188/0.1297, allocations: 415.2 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1298, allocations: 12.03 kB / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.1298, allocations: 12.78 kB / 484 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.13, allocations: 200.8 kB / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.13, allocations: 4.312 kB / 484.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1301, allocations: 4.375 kB / 484.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1302, allocations: 53.81 kB / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1302, allocations: 0 / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1303, allocations: 4 kB / 484.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1303, allocations: 0 / 484.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1304, allocations: 31.97 kB / 484.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1309, allocations: 312.6 kB / 484.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.131, allocations: 46.5 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.1311, allocations: 16.94 kB / 484.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1311, allocations: 4 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1311, allocations: 38.56 kB / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1311, allocations: 0 / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009307/0.1321, allocations: 237.3 kB / 485 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1321, allocations: 51.41 kB / 485 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1324, allocations: 230.2 kB / 485.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1324, allocations: 25.7 kB / 485.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.1324, allocations: 104.1 kB / 485.4 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1325, allocations: 27.55 kB / 485.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1325, allocations: 21.72 kB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1327, allocations: 322.8 kB / 485.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1328, allocations: 36.12 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.86e-05/0.1329, allocations: 24 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.1331, allocations: 80.72 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1331, allocations: 4 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000235/0.1333, allocations: 109.7 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1334, allocations: 6.5 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1334, allocations: 4 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1334, allocations: 3.984 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1335, allocations: 23.92 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1335, allocations: 0 / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.1336, allocations: 11.92 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1336, allocations: 0 / 486 MB, free: 15.73 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001148/0.1337, allocations: 129.8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.1338, allocations: 11.81 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.1341, allocations: 135.2 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1341, allocations: 0 / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/0.1341, allocations: 7.984 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1341, allocations: 3.938 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.1347, allocations: 427.4 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1348, allocations: 3.938 kB / 486.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.1348, allocations: 15.98 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1349, allocations: 7.938 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1349, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1349, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1349, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.1352, allocations: 228.2 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.1353, allocations: 88.94 kB / 487.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1353, allocations: 4 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.1354, allocations: 12 kB / 487.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1354, allocations: 7.922 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1354, allocations: 4 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1356, allocations: 164.2 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1356, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1358, allocations: 20 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001656/0.1375, allocations: 447.6 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1378, allocations: 87.86 kB / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1378, allocations: 0 / 487.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1379, allocations: 39.92 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1383, allocations: 18.98 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.1388, allocations: 296.6 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1392, allocations: 0.7157 MB / 488.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.1392, allocations: 15.44 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1392, allocations: 4 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Templates: time 0.003736/0.143, allocations: 1.816 MB / 490.7 MB, free: 11.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches