Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 95.88 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009819/0.0009822, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002551/0.126, allocations: 1.318 MB / 484.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1273, allocations: 0.5185 MB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.1273, allocations: 0 / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1276, allocations: 31.89 kB / 484.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.1278, allocations: 63.77 kB / 485 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1281, allocations: 103.3 kB / 485.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1283, allocations: 67.81 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1284, allocations: 8 kB / 485.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.1285, allocations: 19.86 kB / 485.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.1285, allocations: 19.88 kB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1285, allocations: 0 / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.1286, allocations: 35.97 kB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1287, allocations: 15.98 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.1288, allocations: 49.45 kB / 485.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1289, allocations: 87.7 kB / 485.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.129, allocations: 4 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.129, allocations: 0 / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.129, allocations: 0 / 485.4 MB, free: 1.805 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.0005152/0.1295, allocations: 379.5 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1295, allocations: 12.81 kB / 485.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.1296, allocations: 8.844 kB / 485.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1298, allocations: 200.7 kB / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1298, allocations: 384 / 486 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1298, allocations: 7.938 kB / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.13, allocations: 53.67 kB / 486 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.13, allocations: 3.938 kB / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.13, allocations: 0 / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.13, allocations: 0 / 486.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1301, allocations: 31.98 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.1306, allocations: 280.9 kB / 486.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1308, allocations: 50.5 kB / 486.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.1309, allocations: 24.94 kB / 486.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1309, allocations: 0 / 486.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1309, allocations: 34.56 kB / 486.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1309, allocations: 0 / 486.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006131/0.1315, allocations: 177.2 kB / 486.6 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1316, allocations: 51.41 kB / 486.7 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.1318, allocations: 178.4 kB / 486.9 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1318, allocations: 25.7 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.1319, allocations: 104 kB / 487 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.1319, allocations: 19.75 kB / 487 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.132, allocations: 13.66 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1321, allocations: 322.8 kB / 487.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1322, allocations: 23.98 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1322, allocations: 27.97 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1324, allocations: 65.02 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1324, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.1326, allocations: 101.5 kB / 487.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1326, allocations: 8 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1327, allocations: 0 / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1327, allocations: 4 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.1327, allocations: 12 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.1328, allocations: 3.984 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1328, allocations: 11.88 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1328, allocations: 0 / 487.6 MB, free: 15.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.1329, allocations: 129.8 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.133, allocations: 7.906 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.1333, allocations: 105.9 kB / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1333, allocations: 0 / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1333, allocations: 0 / 487.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1333, allocations: 7.922 kB / 487.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1337, allocations: 366.5 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1338, allocations: 0 / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1338, allocations: 15.94 kB / 488.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1338, allocations: 3.984 kB / 488.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1338, allocations: 7.938 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1339, allocations: 0 / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1339, allocations: 4 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.1341, allocations: 187.4 kB / 488.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1342, allocations: 89.27 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1342, allocations: 3.938 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.1343, allocations: 11.98 kB / 488.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1344, allocations: 8 kB / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1344, allocations: 0 / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1345, allocations: 132.5 kB / 488.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1345, allocations: 0 / 488.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1348, allocations: 19.98 kB / 488.7 MB, free: 14.2 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 (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.001028/0.1358, allocations: 405.8 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.136, allocations: 55.97 kB / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.136, allocations: 0 / 489.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.1361, allocations: 31.98 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1365, allocations: 19.97 kB / 489.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.1369, allocations: 237.3 kB / 489.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1372, allocations: 0.6965 MB / 490.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.1373, allocations: 15.86 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1373, allocations: 15.42 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1373, allocations: 0 / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Templates: time 0.003662/0.141, allocations: 1.091 MB / 491.2 MB, free: 11.74 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches