Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 79.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003313/0.1276, allocations: 1.645 MB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1287, allocations: 0.5572 MB / 483.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1288, allocations: 4 kB / 483.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1291, allocations: 31.78 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.1294, allocations: 83.61 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1298, allocations: 119 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.13, allocations: 83.81 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1301, allocations: 31.98 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1302, allocations: 35.84 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1303, allocations: 39.78 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1303, allocations: 4 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1304, allocations: 47.98 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1305, allocations: 19.92 kB / 484.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.1306, allocations: 43.72 kB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1308, allocations: 115.6 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1308, allocations: 3.938 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1308, allocations: 0 / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1308, allocations: 0 / 484.3 MB, free: 1.652 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000542/0.1314, allocations: 415 kB / 484.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1314, allocations: 12.92 kB / 484.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1314, allocations: 8.844 kB / 484.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1317, allocations: 199.2 kB / 484.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1317, allocations: 4.375 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1317, allocations: 12.38 kB / 484.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1319, allocations: 73.78 kB / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1319, allocations: 3.938 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1319, allocations: 0 / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.132, allocations: 4 kB / 485 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1321, allocations: 43.97 kB / 485.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1325, allocations: 340.6 kB / 485.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1327, allocations: 66.48 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1327, allocations: 28.84 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1328, allocations: 3.984 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1328, allocations: 34.56 kB / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1328, allocations: 0 / 485.5 MB, free: 276 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.1338, allocations: 321.5 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1339, allocations: 59.34 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1341, allocations: 169.3 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.1341, allocations: 29.7 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.1342, allocations: 104 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1342, allocations: 47.3 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1343, allocations: 25.72 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1344, allocations: 322.8 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-05/0.1345, allocations: 43.97 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.1346, allocations: 47.97 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1348, allocations: 112.3 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1348, allocations: 0 / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002559/0.1351, allocations: 157.5 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1351, allocations: 7.938 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1351, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1351, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1353, allocations: 23.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1353, allocations: 4 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1353, allocations: 7.984 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1354, allocations: 8 kB / 487 MB, free: 14.75 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 (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 0.0001032/0.1355, allocations: 121.8 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.1355, allocations: 19.75 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.1359, allocations: 186.7 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1359, allocations: 0 / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1359, allocations: 0 / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1359, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.1365, allocations: 495 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1365, allocations: 3.984 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.1366, allocations: 31.92 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1366, allocations: 4 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1367, allocations: 0 / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1367, allocations: 0 / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1367, allocations: 8.031 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.137, allocations: 252.2 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1371, allocations: 89 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1371, allocations: 4 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.1372, allocations: 4 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1372, allocations: 19.92 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1372, allocations: 4 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1373, allocations: 127.2 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1373, allocations: 0 / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1376, allocations: 24 kB / 488.4 MB, free: 13.27 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.001005/0.1386, allocations: 455 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1389, allocations: 123.2 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1389, allocations: 0 / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.139, allocations: 59.91 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1394, allocations: 27.05 kB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.1399, allocations: 263.3 kB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1402, allocations: 0.7041 MB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.1403, allocations: 32.52 kB / 490 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.1403, allocations: 23.44 kB / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1403, allocations: 0 / 490 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004083/0.1444, allocations: 1.571 MB / 491.6 MB, free: 10.14 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches