Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247.4 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 76.5 kB / 418.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1381, allocations: 62.44 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.004134/0.1423, allocations: 1.614 MB / 482.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1435, allocations: 0.5377 MB / 482.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.1436, allocations: 0 / 482.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.144, allocations: 79.7 kB / 482.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.1444, allocations: 99.64 kB / 483 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1448, allocations: 95.69 kB / 483.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.145, allocations: 79.81 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1452, allocations: 19.98 kB / 483.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.195e-05/0.1452, allocations: 31.86 kB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1454, allocations: 55.81 kB / 483.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1454, allocations: 4 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1456, allocations: 47.98 kB / 483.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.1456, allocations: 23.84 kB / 483.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.637e-05/0.1457, allocations: 31.75 kB / 483.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.146, allocations: 107.7 kB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.146, allocations: 0 / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.146, allocations: 0 / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.146, allocations: 3.938 kB / 483.5 MB, free: 2.465 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.0005811/0.1466, allocations: 419.2 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1466, allocations: 8.031 kB / 483.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1467, allocations: 8.844 kB / 483.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.147, allocations: 200.8 kB / 484.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.147, allocations: 4.375 kB / 484.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.147, allocations: 8.375 kB / 484.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1472, allocations: 49.81 kB / 484.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1472, allocations: 4 kB / 484.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1472, allocations: 0 / 484.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1472, allocations: 4 kB / 484.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.999e-05/0.1473, allocations: 27.91 kB / 484.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.1478, allocations: 300.7 kB / 484.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.1479, allocations: 46.55 kB / 484.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.148, allocations: 24.88 kB / 484.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.148, allocations: 0 / 484.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1481, allocations: 34.56 kB / 484.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1481, allocations: 0 / 484.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009517/0.149, allocations: 229.1 kB / 484.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1491, allocations: 51.41 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1493, allocations: 218.3 kB / 485.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1493, allocations: 29.64 kB / 485.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.1494, allocations: 112.1 kB / 485.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1495, allocations: 27.56 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.1495, allocations: 21.7 kB / 485.3 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1497, allocations: 322.8 kB / 485.6 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1498, allocations: 19.98 kB / 485.6 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.1498, allocations: 28 kB / 485.7 MB, free: 96 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.15, allocations: 68.77 kB / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.15, allocations: 0 / 485.7 MB, free: 24 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002378/0.1502, allocations: 97.56 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1503, allocations: 14.48 kB / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1503, allocations: 0 / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1504, allocations: 0 / 485.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.1505, allocations: 15.98 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1505, allocations: 4.312 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.1505, allocations: 7.938 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1505, allocations: 7.938 kB / 485.9 MB, free: 15.88 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 (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.0001095/0.1507, allocations: 133.8 kB / 486 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.1507, allocations: 11.81 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.1511, allocations: 119 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1511, allocations: 4 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1511, allocations: 0 / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1511, allocations: 7.938 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.1517, allocations: 403.3 kB / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1517, allocations: 0 / 486.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1518, allocations: 19.92 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.1518, allocations: 7.938 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1518, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1518, allocations: 4.031 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1518, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1521, allocations: 204.2 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.1522, allocations: 88.95 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1522, allocations: 4 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.1523, allocations: 11.98 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1523, allocations: 4 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1523, allocations: 15.92 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.1525, allocations: 164.2 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.1526, allocations: 0 / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1528, allocations: 23.94 kB / 487.1 MB, free: 14.56 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.001091/0.1539, allocations: 450.2 kB / 487.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1542, allocations: 59.95 kB / 487.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1542, allocations: 7.938 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.1543, allocations: 31.98 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1547, allocations: 23.36 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006317/0.1553, allocations: 300.5 kB / 487.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1556, allocations: 0.7079 MB / 488.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.1557, allocations: 15.44 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1557, allocations: 0 / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.003964/0.1597, allocations: 1.758 MB / 490.4 MB, free: 11.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches