Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008637/0.0008637, allocations: 99.42 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 192.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004625, allocations: 8.219 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 63.58 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002522/0.138, allocations: 1.283 MB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.14, allocations: 1.089 MB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.1401, allocations: 3.938 kB / 484.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1404, allocations: 27.91 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1408, allocations: 55.83 kB / 484.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.1412, allocations: 103.3 kB / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1415, allocations: 59.78 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1416, allocations: 11.97 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.279e-05/0.1417, allocations: 23.92 kB / 485.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1419, allocations: 27.84 kB / 485.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1419, allocations: 4 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1422, allocations: 83.89 kB / 485.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.1422, allocations: 11.98 kB / 485.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.1423, allocations: 33.64 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1425, allocations: 103.8 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1425, allocations: 0 / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1426, allocations: 0 / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1426, allocations: 0 / 485.3 MB, free: 1.602 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.0006428/0.1432, allocations: 389.6 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1433, allocations: 8.031 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1433, allocations: 11.91 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1437, allocations: 194.9 kB / 485.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1437, allocations: 0 / 485.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1437, allocations: 7.906 kB / 485.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1439, allocations: 63.41 kB / 486 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.144, allocations: 3.984 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.144, allocations: 0 / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.144, allocations: 0 / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1441, allocations: 27.98 kB / 486 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.1446, allocations: 292.8 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1449, allocations: 54.55 kB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.145, allocations: 16.94 kB / 486.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.145, allocations: 0 / 486.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1451, allocations: 34.56 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.1451, allocations: 0 / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007716/0.1458, allocations: 173.2 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.146, allocations: 81.11 kB / 486.7 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1462, allocations: 156.4 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1462, allocations: 33.64 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.1463, allocations: 92.14 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1463, allocations: 7.812 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.1463, allocations: 4 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1465, allocations: 318.8 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.1466, allocations: 23.98 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1467, allocations: 45.69 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.564e-05/0.1468, allocations: 28.17 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1468, allocations: 0 / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000204/0.147, allocations: 97.61 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1471, allocations: 7.984 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1471, allocations: 0 / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1471, allocations: 4 kB / 487.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.1472, allocations: 11.94 kB / 487.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1472, allocations: 7.938 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1472, allocations: 7.984 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1473, allocations: 3.953 kB / 487.5 MB, free: 15.21 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 (5): * Single equations (assignments): 5 * 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 0.0001065/0.1474, allocations: 118.4 kB / 487.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1474, allocations: 7.906 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1477, allocations: 106 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1477, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1477, allocations: 4 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1477, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.1483, allocations: 370.4 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1483, allocations: 0 / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.1484, allocations: 15.98 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1484, allocations: 4 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1484, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1484, allocations: 7.984 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1484, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.1488, allocations: 195.3 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.1489, allocations: 93.25 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1489, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.149, allocations: 12 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.149, allocations: 7.984 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.149, allocations: 0 / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1492, allocations: 115.2 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1492, allocations: 0 / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003247/0.1495, allocations: 39.98 kB / 488.6 MB, free: 14.03 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 (5): * Single equations (assignments): 5 * 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.001506/0.151, allocations: 498.3 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1513, allocations: 59.91 kB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1513, allocations: 0 / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.1514, allocations: 35.98 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1518, allocations: 15.98 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.1524, allocations: 188.6 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1528, allocations: 0.6965 MB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1529, allocations: 19.97 kB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.153, allocations: 15.42 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.153, allocations: 0 / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.005418/0.1584, allocations: 1.708 MB / 491.8 MB, free: 10.91 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches