Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001437/0.001437, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 74.34 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003502/0.1302, allocations: 1.665 MB / 481.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.132, allocations: 1.136 MB / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.1321, allocations: 0 / 482.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1324, allocations: 15.92 kB / 482.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1327, allocations: 71.75 kB / 482.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1331, allocations: 87.66 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1332, allocations: 59.84 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.1333, allocations: 15.98 kB / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.1334, allocations: 23.88 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1336, allocations: 31.83 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1336, allocations: 4 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1338, allocations: 95.88 kB / 483.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.1339, allocations: 15.92 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1339, allocations: 15.88 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1341, allocations: 103.8 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1342, allocations: 4 kB / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1342, allocations: 0 / 483.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1342, allocations: 0 / 483.3 MB, free: 2.367 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.0005989/0.1348, allocations: 399.5 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1348, allocations: 12.88 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.1349, allocations: 4.938 kB / 483.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1351, allocations: 192.1 kB / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1351, allocations: 384 / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1352, allocations: 12.31 kB / 483.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1353, allocations: 67.52 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1354, allocations: 3.938 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1354, allocations: 0 / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1354, allocations: 0 / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.1355, allocations: 19.98 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1359, allocations: 284.8 kB / 484.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1361, allocations: 42.56 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1362, allocations: 16.86 kB / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1362, allocations: 0 / 484.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.1362, allocations: 34.64 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1362, allocations: 0 / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005929/0.1368, allocations: 149.2 kB / 484.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.1369, allocations: 81.11 kB / 484.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.1371, allocations: 144.5 kB / 484.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1371, allocations: 25.7 kB / 484.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.1372, allocations: 96.12 kB / 484.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.1372, allocations: 15.72 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.1372, allocations: 25.7 kB / 484.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1374, allocations: 318.8 kB / 485.2 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.1374, allocations: 19.92 kB / 485.2 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.1375, allocations: 37.64 kB / 485.2 MB, free: 180 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1377, allocations: 49.02 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1377, allocations: 0 / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1379, allocations: 81.69 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1379, allocations: 8 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1379, allocations: 0 / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1379, allocations: 0 / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.138, allocations: 8 kB / 485.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.138, allocations: 3.984 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1381, allocations: 7.938 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1381, allocations: 11.94 kB / 485.4 MB, free: 0 / 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 0.0001108/0.1382, allocations: 117.9 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1383, allocations: 7.906 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.1385, allocations: 86.19 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1385, allocations: 4 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1385, allocations: 3.984 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1385, allocations: 3.938 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.139, allocations: 358.3 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1391, allocations: 0 / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.1391, allocations: 11.98 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1391, allocations: 0 / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1392, allocations: 4 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1392, allocations: 3.938 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1392, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1394, allocations: 187.5 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.1395, allocations: 77.11 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1395, allocations: 8.062 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1396, allocations: 7.938 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1396, allocations: 3.984 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1396, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.1397, allocations: 117.4 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1397, allocations: 0 / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.14, allocations: 40 kB / 486.4 MB, free: 14.88 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.001144/0.1412, allocations: 498.2 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.1414, allocations: 43.97 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1414, allocations: 0 / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.1415, allocations: 27.92 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1418, allocations: 18.94 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.1423, allocations: 212.9 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1426, allocations: 0.6887 MB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.1426, allocations: 19.42 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.783e-06/0.1426, allocations: 4 kB / 487.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004045/0.1467, allocations: 1.924 MB / 489.8 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches