Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 112.6 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.66 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1255, allocations: 62.45 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003002/0.1285, allocations: 1.715 MB / 481.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.1295, allocations: 0.53 MB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.1295, allocations: 0 / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1298, allocations: 95.73 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1301, allocations: 103.8 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1304, allocations: 79.84 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1306, allocations: 99.73 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1307, allocations: 23.98 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.1308, allocations: 43.84 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1309, allocations: 67.75 kB / 482.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.131, allocations: 4 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1311, allocations: 47.97 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.1311, allocations: 27.92 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.1312, allocations: 39.67 kB / 482.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.1314, allocations: 123.9 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1314, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1314, allocations: 0 / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1315, allocations: 4 kB / 482.5 MB, free: 2.594 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005882/0.132, allocations: 438.8 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1321, allocations: 12.03 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1321, allocations: 12.75 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1324, allocations: 208.5 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1324, allocations: 4.375 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1324, allocations: 4.375 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1326, allocations: 73.78 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1326, allocations: 0 / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1326, allocations: 0 / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1326, allocations: 4 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1327, allocations: 47.91 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1331, allocations: 332.6 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1333, allocations: 62.55 kB / 483.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.1333, allocations: 32.78 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1334, allocations: 0 / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1334, allocations: 34.56 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1334, allocations: 0 / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009901/0.1344, allocations: 312.6 kB / 484 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1344, allocations: 55.41 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1347, allocations: 239.5 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1347, allocations: 29.64 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.1348, allocations: 104.1 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1348, allocations: 47.36 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.1349, allocations: 25.7 kB / 484.5 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.135, allocations: 330.8 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1351, allocations: 32.03 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.1352, allocations: 43.86 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.1354, allocations: 92.83 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1354, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002314/0.1357, allocations: 133.5 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1357, allocations: 10.66 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1357, allocations: 0 / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1357, allocations: 7.938 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1358, allocations: 31.92 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1359, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.1359, allocations: 11.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1359, allocations: 4.109 kB / 485.2 MB, free: 15.65 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 9.751e-05/0.136, allocations: 137.8 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1361, allocations: 19.81 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.1364, allocations: 170.3 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1365, allocations: 3.938 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1365, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1365, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.137, allocations: 491.1 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1371, allocations: 0 / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.1372, allocations: 27.98 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1372, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1372, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1372, allocations: 4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1372, allocations: 3.938 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.1375, allocations: 248.1 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.1375, allocations: 88.92 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1376, allocations: 4 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.1377, allocations: 7.984 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.1377, allocations: 4 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1377, allocations: 8 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1378, allocations: 181.2 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1379, allocations: 0 / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1381, allocations: 31.98 kB / 486.6 MB, free: 14.14 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.001075/0.1392, allocations: 453.8 kB / 487 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.1395, allocations: 107.6 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1395, allocations: 0 / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1397, allocations: 51.91 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1401, allocations: 24.86 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.1407, allocations: 347.9 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.141, allocations: 0.7197 MB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.199e-05/0.1411, allocations: 20.53 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1411, allocations: 23.36 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1411, allocations: 0 / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of Templates: time 0.004074/0.1452, allocations: 1.516 MB / 489.8 MB, free: 11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches