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.001854/0.001854, 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.002174/0.002175, 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.472/1.472, 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.2275/0.2275, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 80.86 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1335, allocations: 62.43 MB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003507/0.137, allocations: 1.599 MB / 482.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1381, allocations: 0.5456 MB / 482.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1382, allocations: 0 / 482.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1385, allocations: 23.8 kB / 482.9 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1389, allocations: 83.61 kB / 482.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1392, allocations: 115.7 kB / 483.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1394, allocations: 63.84 kB / 483.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1395, allocations: 11.98 kB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.393e-05/0.1396, allocations: 31.84 kB / 483.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.1397, allocations: 19.86 kB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1397, allocations: 4 kB / 483.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1398, allocations: 32 kB / 483.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.1399, allocations: 11.98 kB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.1399, allocations: 35.73 kB / 483.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1401, allocations: 79.72 kB / 483.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1401, allocations: 0 / 483.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1401, allocations: 0 / 483.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1402, allocations: 0 / 483.3 MB, free: 2.648 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.0005192/0.1407, allocations: 395.3 kB / 483.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1407, allocations: 8.031 kB / 483.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1408, allocations: 12.84 kB / 483.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.141, allocations: 200.1 kB / 483.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.141, allocations: 384 / 483.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.141, allocations: 11.94 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1412, allocations: 41.69 kB / 484 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1412, allocations: 11.89 kB / 484 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1412, allocations: 3.938 kB / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1413, allocations: 0 / 484 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.506e-05/0.1414, allocations: 19.98 kB / 484 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.1418, allocations: 292.9 kB / 484.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.142, allocations: 38.56 kB / 484.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1421, allocations: 24.88 kB / 484.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1421, allocations: 0 / 484.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1421, allocations: 34.56 kB / 484.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1421, allocations: 0 / 484.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005995/0.1427, allocations: 153.3 kB / 484.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1428, allocations: 51.41 kB / 484.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.143, allocations: 178.4 kB / 484.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.143, allocations: 29.7 kB / 484.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.1431, allocations: 108 kB / 484.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1431, allocations: 11.75 kB / 484.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1431, allocations: 21.7 kB / 485 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1433, allocations: 318.8 kB / 485.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.1434, allocations: 23.97 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1434, allocations: 19.98 kB / 485.3 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1436, allocations: 61.02 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1436, allocations: 0 / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/0.1438, allocations: 89.5 kB / 485.5 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1438, allocations: 10.5 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1438, allocations: 0 / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1439, allocations: 0 / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.1439, allocations: 11.98 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1439, allocations: 3.938 kB / 485.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.144, allocations: 11.94 kB / 485.5 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.144, allocations: 4 kB / 485.5 MB, free: 276 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 (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 8.42e-05/0.1441, allocations: 117.8 kB / 485.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1441, allocations: 7.906 kB / 485.6 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1444, allocations: 97.91 kB / 485.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1444, allocations: 4 kB / 485.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1444, allocations: 0 / 485.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1444, allocations: 11.92 kB / 485.7 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1449, allocations: 358.5 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1449, allocations: 0 / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.145, allocations: 15.92 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.145, allocations: 0 / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.145, allocations: 4.219 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.145, allocations: 4 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.145, allocations: 0 / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1453, allocations: 191.5 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1454, allocations: 85 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1454, allocations: 7.938 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1455, allocations: 4 kB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1455, allocations: 7.984 kB / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1455, allocations: 0 / 486.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1457, allocations: 142.3 kB / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1457, allocations: 0 / 486.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1459, allocations: 12 kB / 486.5 MB, free: 15.12 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.0009408/0.1469, allocations: 401.2 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1471, allocations: 55.95 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1471, allocations: 0 / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.1472, allocations: 27.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1476, allocations: 23.02 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.1481, allocations: 235.5 kB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1484, allocations: 0.7002 MB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.1484, allocations: 11.44 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1484, allocations: 0 / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Templates: time 0.003407/0.1518, allocations: 1.493 MB / 489.5 MB, free: 12.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches