Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008696, allocations: 91.91 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008792/0.0008793, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.000409, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00219/0.1387, allocations: 1.314 MB / 484.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1398, allocations: 0.5146 MB / 484.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.1399, allocations: 4 kB / 484.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1401, allocations: 23.91 kB / 484.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1403, allocations: 59.77 kB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1406, allocations: 83.03 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1407, allocations: 59.91 kB / 485.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1408, allocations: 7.984 kB / 485.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.1409, allocations: 31.8 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.141, allocations: 19.86 kB / 485.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.141, allocations: 0 / 485.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.777e-05/0.1411, allocations: 31.98 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1411, allocations: 4 kB / 485.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1412, allocations: 49.5 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1413, allocations: 71.78 kB / 485.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1413, allocations: 4 kB / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1414, allocations: 0 / 485.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1414, allocations: 3.938 kB / 485.4 MB, free: 1.855 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.0004113/0.1418, allocations: 383.5 kB / 485.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1418, allocations: 8.875 kB / 485.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1419, allocations: 8.844 kB / 485.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.142, allocations: 194.8 kB / 485.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1421, allocations: 4.375 kB / 485.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1421, allocations: 384 / 485.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1422, allocations: 57.81 kB / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1423, allocations: 0 / 486 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1423, allocations: 4 kB / 486 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1423, allocations: 4 kB / 486 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.1424, allocations: 31.91 kB / 486 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.1428, allocations: 264.9 kB / 486.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.143, allocations: 54.48 kB / 486.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.1431, allocations: 16.86 kB / 486.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1431, allocations: 7.938 kB / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1431, allocations: 30.56 kB / 486.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1431, allocations: 0 / 486.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006/0.1437, allocations: 165.6 kB / 486.6 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1438, allocations: 51.41 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.144, allocations: 154.2 kB / 486.8 MB, free: 260 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.144, allocations: 25.7 kB / 486.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1441, allocations: 96.12 kB / 486.9 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1441, allocations: 15.72 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.1441, allocations: 13.72 kB / 486.9 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1443, allocations: 322.8 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.1444, allocations: 23.98 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.1444, allocations: 23.98 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1446, allocations: 52.83 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1446, allocations: 0 / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1448, allocations: 93.52 kB / 487.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1448, allocations: 4 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1448, allocations: 3.938 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1448, allocations: 3.984 kB / 487.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.1449, allocations: 19.98 kB / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1449, allocations: 0 / 487.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.145, allocations: 15.98 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.145, allocations: 0 / 487.5 MB, free: 15.52 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 (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.432e-05/0.1451, allocations: 117.8 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.1451, allocations: 7.906 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.1454, allocations: 109.8 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1454, allocations: 0 / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1454, allocations: 4.297 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1454, allocations: 0 / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1458, allocations: 354.5 kB / 488 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1458, allocations: 0 / 488 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.1459, allocations: 19.98 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1459, allocations: 0 / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1459, allocations: 0 / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1459, allocations: 7.875 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.146, allocations: 4 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.1462, allocations: 187.4 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1462, allocations: 85.02 kB / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1463, allocations: 0 / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.1463, allocations: 15.92 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.1464, allocations: 3.938 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1464, allocations: 4 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.1465, allocations: 117.3 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1465, allocations: 4 kB / 488.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1467, allocations: 16 kB / 488.5 MB, free: 14.38 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.0009095/0.1476, allocations: 395.5 kB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1479, allocations: 59.91 kB / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1479, allocations: 0 / 488.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.148, allocations: 23.98 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1483, allocations: 18.94 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.1487, allocations: 201.3 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.149, allocations: 0.6965 MB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.149, allocations: 4 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.1491, allocations: 15.42 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1491, allocations: 4 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.003459/0.1526, allocations: 1.054 MB / 491 MB, free: 12 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches