Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.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.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001278, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.09 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.66 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 62.44 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003414/0.126, allocations: 1.708 MB / 481 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1271, allocations: 0.5456 MB / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.1272, allocations: 0 / 481.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1275, allocations: 31.83 kB / 481.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1278, allocations: 63.83 kB / 481.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1281, allocations: 83.78 kB / 481.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1283, allocations: 79.81 kB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1284, allocations: 27.98 kB / 481.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.1285, allocations: 31.8 kB / 481.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.1286, allocations: 39.83 kB / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1286, allocations: 0 / 481.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1287, allocations: 43.98 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1288, allocations: 19.92 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.1289, allocations: 39.73 kB / 482 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1291, allocations: 99.97 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1291, allocations: 0 / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1291, allocations: 0 / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1291, allocations: 0 / 482.1 MB, free: 2.93 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004841/0.1296, allocations: 407.1 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1296, allocations: 12.88 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.1297, allocations: 12.75 kB / 482.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1299, allocations: 192.2 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1299, allocations: 8.375 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1299, allocations: 12.22 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1301, allocations: 73.78 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1301, allocations: 0 / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1301, allocations: 0 / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1301, allocations: 4 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1303, allocations: 39.91 kB / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1307, allocations: 324.7 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1309, allocations: 62.5 kB / 483.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1309, allocations: 24.84 kB / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.131, allocations: 0 / 483.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.131, allocations: 38.5 kB / 483.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.131, allocations: 4 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.1321, allocations: 297.2 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1322, allocations: 59.34 kB / 483.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1323, allocations: 165.8 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1324, allocations: 25.7 kB / 483.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.1324, allocations: 108 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1325, allocations: 39.45 kB / 484 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1325, allocations: 25.72 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1326, allocations: 326.8 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1327, allocations: 35.97 kB / 484.3 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.1328, allocations: 43.98 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.133, allocations: 88.08 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1331, allocations: 0 / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002635/0.1333, allocations: 129.5 kB / 484.6 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1334, allocations: 15.92 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1334, allocations: 0 / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1334, allocations: 0 / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1335, allocations: 27.92 kB / 484.6 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1335, allocations: 4 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.1336, allocations: 12 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1336, allocations: 4 kB / 484.7 MB, free: 144 kB / 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 (13): * Single equations (assignments): 13 * 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 9.917e-05/0.1337, allocations: 129.8 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1338, allocations: 12.02 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.1341, allocations: 167.1 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1342, allocations: 4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1342, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1342, allocations: 0 / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.1348, allocations: 478.9 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1348, allocations: 4.031 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1349, allocations: 23.98 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1349, allocations: 3.938 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1349, allocations: 8 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.135, allocations: 3.984 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.135, allocations: 0 / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1353, allocations: 243.5 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.1353, allocations: 85.02 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.1354, allocations: 4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.1354, allocations: 7.984 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.1355, allocations: 11.98 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1355, allocations: 4 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1356, allocations: 130.4 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1356, allocations: 3.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1359, allocations: 20 kB / 486 MB, free: 14.71 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 (13): * Single equations (assignments): 13 * 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.001042/0.137, allocations: 444.3 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1373, allocations: 95.94 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1373, allocations: 3.938 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1374, allocations: 47.98 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1378, allocations: 20.55 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.1384, allocations: 293.1 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1386, allocations: 0.7083 MB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.556e-05/0.1387, allocations: 24.53 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1388, allocations: 23.42 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1388, allocations: 0 / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004254/0.143, allocations: 1.448 MB / 489.1 MB, free: 11.73 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches