Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 117.3 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247.1 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.2329/0.2329, allocations: 46.11 MB / 344.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 80.22 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 62.46 MB / 480.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003282/0.1386, allocations: 1.641 MB / 481.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.1396, allocations: 0.5339 MB / 482.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.1397, allocations: 4 kB / 482.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1399, allocations: 23.86 kB / 482.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1403, allocations: 75.75 kB / 482.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1406, allocations: 91.83 kB / 482.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1407, allocations: 63.83 kB / 482.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.1408, allocations: 8 kB / 482.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.1409, allocations: 35.84 kB / 482.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.141, allocations: 19.86 kB / 482.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.141, allocations: 4 kB / 482.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.1411, allocations: 35.94 kB / 482.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.1411, allocations: 7.984 kB / 482.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1412, allocations: 27.8 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1413, allocations: 55.92 kB / 482.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1414, allocations: 0 / 482.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1414, allocations: 0 / 482.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1414, allocations: 0 / 482.8 MB, free: 2.918 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.0005299/0.1419, allocations: 395.4 kB / 483.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.142, allocations: 12.03 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.142, allocations: 8.844 kB / 483.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1422, allocations: 188.2 kB / 483.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1422, allocations: 384 / 483.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1423, allocations: 8.312 kB / 483.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1424, allocations: 53.8 kB / 483.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1425, allocations: 3.906 kB / 483.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1425, allocations: 8 kB / 483.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1425, allocations: 7.984 kB / 483.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.158e-05/0.1426, allocations: 19.98 kB / 483.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.143, allocations: 280.9 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1433, allocations: 50.44 kB / 483.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.1433, allocations: 20.94 kB / 483.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1434, allocations: 4 kB / 483.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1434, allocations: 30.56 kB / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1434, allocations: 0 / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006126/0.144, allocations: 153.2 kB / 484.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1441, allocations: 55.41 kB / 484.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1443, allocations: 150.2 kB / 484.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1443, allocations: 25.7 kB / 484.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1444, allocations: 96.12 kB / 484.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.1444, allocations: 7.812 kB / 484.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.1445, allocations: 21.7 kB / 484.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1446, allocations: 322.8 kB / 484.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.1447, allocations: 23.97 kB / 484.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.1448, allocations: 23.98 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.145, allocations: 56.77 kB / 484.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.145, allocations: 0 / 484.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.1452, allocations: 85.56 kB / 484.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1452, allocations: 7.938 kB / 484.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1452, allocations: 4 kB / 484.9 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1452, allocations: 4 kB / 484.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.1453, allocations: 11.98 kB / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1453, allocations: 0 / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1454, allocations: 4 kB / 484.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1454, allocations: 256 / 484.9 MB, free: 0.5938 MB / 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.000102/0.1455, allocations: 129.7 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.1455, allocations: 7.906 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.1458, allocations: 101.9 kB / 485.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1458, allocations: 4 kB / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1458, allocations: 0 / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1458, allocations: 0 / 485.2 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1463, allocations: 362.3 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1464, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.1464, allocations: 12 kB / 485.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1464, allocations: 4 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1464, allocations: 0 / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1465, allocations: 3.938 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1465, allocations: 3.984 kB / 485.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1467, allocations: 179.4 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.1468, allocations: 81.09 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1468, allocations: 4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.1469, allocations: 11.88 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.1469, allocations: 11.92 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.1469, allocations: 4 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.765e-05/0.147, allocations: 114 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1471, allocations: 0 / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.1473, allocations: 19.98 kB / 486 MB, free: 15.46 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.001472/0.1488, allocations: 399.6 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.149, allocations: 55.97 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.149, allocations: 0 / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.1491, allocations: 27.92 kB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1495, allocations: 22.97 kB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.15, allocations: 239.7 kB / 486.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1504, allocations: 0.6924 MB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1505, allocations: 11.44 kB / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1505, allocations: 0 / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Templates: time 0.003503/0.154, allocations: 1.463 MB / 488.9 MB, free: 12.63 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches