Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 247.1 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.13 MB / 344.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002174, allocations: 83.09 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 62.44 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003244/0.1284, allocations: 1.68 MB / 481.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1294, allocations: 0.5416 MB / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.1295, allocations: 0 / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1298, allocations: 75.83 kB / 482.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.1301, allocations: 83.8 kB / 482.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.1304, allocations: 103.2 kB / 482.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1306, allocations: 79.81 kB / 482.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1307, allocations: 16 kB / 482.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.1308, allocations: 43.77 kB / 482.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1309, allocations: 47.84 kB / 482.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1309, allocations: 4 kB / 482.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.131, allocations: 47.97 kB / 482.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1311, allocations: 23.92 kB / 483 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1312, allocations: 27.75 kB / 483 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1313, allocations: 79.88 kB / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1313, allocations: 4 kB / 483.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1313, allocations: 0 / 483.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1313, allocations: 0 / 483.1 MB, free: 2.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005139/0.1319, allocations: 403.3 kB / 483.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1319, allocations: 8.031 kB / 483.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.132, allocations: 24.69 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1322, allocations: 200.1 kB / 483.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1322, allocations: 384 / 483.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1322, allocations: 4.375 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1324, allocations: 57.8 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1324, allocations: 0 / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1324, allocations: 4 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.1325, allocations: 0 / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1326, allocations: 27.97 kB / 483.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.133, allocations: 296.8 kB / 484.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.1331, allocations: 50.55 kB / 484.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1332, allocations: 16.86 kB / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1332, allocations: 0 / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1333, allocations: 38.64 kB / 484.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1333, allocations: 3.938 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009319/0.1342, allocations: 245.4 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1343, allocations: 55.41 kB / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.1346, allocations: 209.9 kB / 484.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1346, allocations: 29.64 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.1347, allocations: 100.1 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1348, allocations: 27.56 kB / 484.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.1348, allocations: 25.7 kB / 484.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.135, allocations: 322.8 kB / 485.2 MB, free: 400 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1351, allocations: 27.98 kB / 485.2 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1353, allocations: 35.97 kB / 485.2 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1354, allocations: 68.83 kB / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1355, allocations: 4 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002379/0.1357, allocations: 113.5 kB / 485.4 MB, free: 140 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1357, allocations: 10.28 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1357, allocations: 3.984 kB / 485.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1358, allocations: 7.984 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1359, allocations: 16 kB / 485.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1359, allocations: 0 / 485.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1359, allocations: 15.92 kB / 485.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.136, allocations: 4 kB / 485.5 MB, free: 84 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 (8): * Single equations (assignments): 8 * 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.0001296/0.1361, allocations: 121.8 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.1361, allocations: 11.81 kB / 485.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.1365, allocations: 135 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1365, allocations: 0 / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1365, allocations: 7.984 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1365, allocations: 3.938 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.1371, allocations: 419.3 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1371, allocations: 0 / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.1372, allocations: 16.03 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.1372, allocations: 7.922 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1372, allocations: 4 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1372, allocations: 0 / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1372, allocations: 0 / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1375, allocations: 216.6 kB / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.1376, allocations: 96.95 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1376, allocations: 3.984 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1377, allocations: 4 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1377, allocations: 4 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1377, allocations: 7.984 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1379, allocations: 149.8 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1379, allocations: 0 / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1382, allocations: 23.98 kB / 486.7 MB, free: 14.77 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 (8): * Single equations (assignments): 8 * 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.001655/0.1398, allocations: 459.1 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1401, allocations: 75.95 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.1401, allocations: 8 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.1402, allocations: 43.91 kB / 487.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1406, allocations: 15.98 kB / 487.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.1412, allocations: 317.1 kB / 487.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1416, allocations: 0.7057 MB / 488.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1417, allocations: 27.36 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1417, allocations: 0 / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of Templates: time 0.003928/0.1456, allocations: 1.789 MB / 490.1 MB, free: 11.44 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches