Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001691/0.001691, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002445/0.002445, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 81.09 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 62.44 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003677/0.1251, allocations: 1.665 MB / 482.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1263, allocations: 0.5883 MB / 482.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.1264, allocations: 4 kB / 483 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.1271, allocations: 455.2 kB / 483.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.1276, allocations: 295.2 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.1282, allocations: 174.6 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1285, allocations: 179.6 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1286, allocations: 20.22 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1288, allocations: 119.7 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.1291, allocations: 211.6 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1291, allocations: 4 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1293, allocations: 55.91 kB / 484.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1294, allocations: 83.69 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1295, allocations: 107 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.13, allocations: 278.9 kB / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.13, allocations: 0 / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.13, allocations: 0 / 484.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.13, allocations: 0 / 484.9 MB, free: 1.07 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.0008621/0.1309, allocations: 0.6494 MB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1309, allocations: 8.031 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.131, allocations: 44.38 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1313, allocations: 304.1 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1313, allocations: 384 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1314, allocations: 12.38 kB / 485.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1316, allocations: 65.8 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1316, allocations: 0 / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1316, allocations: 0 / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1316, allocations: 0 / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1318, allocations: 39.91 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/0.1324, allocations: 420.5 kB / 486.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1326, allocations: 50.59 kB / 486.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1326, allocations: 16.94 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1327, allocations: 4 kB / 486.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1327, allocations: 30.56 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1327, allocations: 0 / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001035/0.1337, allocations: 319.8 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1338, allocations: 55.34 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008986/0.1347, allocations: 0.8699 MB / 487.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1347, allocations: 25.7 kB / 487.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1349, allocations: 224.1 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.135, allocations: 31.55 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.135, allocations: 21.72 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1352, allocations: 362.8 kB / 488.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.1353, allocations: 27.98 kB / 488.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.1354, allocations: 35.91 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1356, allocations: 88.73 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1356, allocations: 0 / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002583/0.1359, allocations: 137.2 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1359, allocations: 6.5 kB / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1359, allocations: 0 / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1359, allocations: 0 / 488.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.136, allocations: 19.98 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.136, allocations: 7.875 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.1361, allocations: 12 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1361, allocations: 0 / 488.7 MB, free: 13 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.0001916/0.1363, allocations: 217.8 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.1364, allocations: 43.44 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.1367, allocations: 169.8 kB / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1368, allocations: 0 / 489.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1368, allocations: 7.938 kB / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1368, allocations: 432 / 489.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.1375, allocations: 0.5264 MB / 489.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1375, allocations: 3.938 kB / 489.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.132e-05/0.1376, allocations: 19.92 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1376, allocations: 11.94 kB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1376, allocations: 4.031 kB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1376, allocations: 0 / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1376, allocations: 0 / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1379, allocations: 247.8 kB / 490 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.138, allocations: 124.5 kB / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.138, allocations: 0 / 490.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.1381, allocations: 8 kB / 490.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1382, allocations: 11.92 kB / 490.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.1382, allocations: 4 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006252/0.1388, allocations: 0.6511 MB / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1388, allocations: 0 / 490.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.1391, allocations: 31.98 kB / 490.8 MB, free: 10.82 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.00102/0.1401, allocations: 445.1 kB / 491.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.1404, allocations: 79.89 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1404, allocations: 3.938 kB / 491.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.1405, allocations: 43.97 kB / 491.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1409, allocations: 33.8 kB / 491.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1421, allocations: 0.8682 MB / 492.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.1425, allocations: 0.8338 MB / 493.1 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.1426, allocations: 15.44 kB / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1426, allocations: 0 / 493.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of Templates: time 0.007537/0.1501, allocations: 4.054 MB / 497.2 MB, free: 4.547 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches