Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001308, allocations: 111.4 kB / 17.99 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 213.8 kB / 18.93 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002184, allocations: 83.89 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 62.46 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003238/0.1358, allocations: 1.649 MB / 481.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.137, allocations: 0.5573 MB / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1371, allocations: 0 / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1374, allocations: 23.88 kB / 482.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1376, allocations: 67.75 kB / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.138, allocations: 107.6 kB / 482.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1381, allocations: 63.84 kB / 482.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1382, allocations: 19.97 kB / 482.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.1383, allocations: 31.86 kB / 482.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.1384, allocations: 27.84 kB / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1384, allocations: 4 kB / 482.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1386, allocations: 95.89 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.275e-05/0.1387, allocations: 19.91 kB / 482.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1387, allocations: 23.86 kB / 482.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1389, allocations: 111.8 kB / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1389, allocations: 0 / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1389, allocations: 0 / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.139, allocations: 0 / 483 MB, free: 2.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005823/0.1395, allocations: 407.4 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1396, allocations: 8.031 kB / 483.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1396, allocations: 8.844 kB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1399, allocations: 196.2 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1399, allocations: 384 / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1399, allocations: 4.375 kB / 483.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1401, allocations: 75.52 kB / 483.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1401, allocations: 0 / 483.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1401, allocations: 4 kB / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1402, allocations: 0 / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.1403, allocations: 31.91 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1408, allocations: 288.9 kB / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1409, allocations: 50.55 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.141, allocations: 28.92 kB / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.141, allocations: 0 / 484.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.141, allocations: 38.5 kB / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.141, allocations: 4 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006219/0.1417, allocations: 185.2 kB / 484.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.447e-05/0.1417, allocations: 77.11 kB / 484.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1419, allocations: 148.1 kB / 484.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.142, allocations: 29.7 kB / 484.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.142, allocations: 92.12 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.1421, allocations: 27.66 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.1421, allocations: 25.7 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1423, allocations: 318.8 kB / 485 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.1423, allocations: 27.97 kB / 485 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.1424, allocations: 45.77 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1427, allocations: 80.94 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1427, allocations: 0 / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002262/0.1429, allocations: 117.5 kB / 485.3 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1429, allocations: 4 kB / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1429, allocations: 0 / 485.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.143, allocations: 4 kB / 485.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1431, allocations: 15.98 kB / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1431, allocations: 0 / 485.3 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.1431, allocations: 8 kB / 485.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1431, allocations: 7.938 kB / 485.3 MB, free: 208 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 (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 9.894e-05/0.1433, allocations: 117.8 kB / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1433, allocations: 11.84 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1436, allocations: 114.3 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1436, allocations: 4 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1436, allocations: 0 / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1436, allocations: 4 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.1442, allocations: 398.3 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1442, allocations: 0 / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.1443, allocations: 15.98 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1443, allocations: 0 / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1443, allocations: 3.938 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1443, allocations: 4 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1443, allocations: 4 kB / 486 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1446, allocations: 195.4 kB / 486.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1446, allocations: 85.09 kB / 486.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1447, allocations: 7.938 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.1447, allocations: 4 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1448, allocations: 11.98 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1448, allocations: 4 kB / 486.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1449, allocations: 117.4 kB / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1449, allocations: 0 / 486.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1452, allocations: 43.98 kB / 486.4 MB, free: 14.98 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001694/0.1469, allocations: 495.8 kB / 486.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1472, allocations: 75.89 kB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1472, allocations: 4 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.1473, allocations: 35.97 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1477, allocations: 14.41 kB / 487.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.1482, allocations: 243.5 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1485, allocations: 0.7001 MB / 488 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.1486, allocations: 19.44 kB / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1486, allocations: 0 / 488 MB, free: 13.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004266/0.1529, allocations: 2.128 MB / 490.1 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches