Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 83.2 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1449, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003228/0.1482, allocations: 1.614 MB / 482.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1493, allocations: 0.5455 MB / 482.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.1493, allocations: 3.938 kB / 482.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.1497, allocations: 115.7 kB / 483 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1501, allocations: 131.5 kB / 483.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1503, allocations: 91.69 kB / 483.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1505, allocations: 99.8 kB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1507, allocations: 12 kB / 483.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.1508, allocations: 51.81 kB / 483.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1509, allocations: 79.78 kB / 483.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1509, allocations: 8 kB / 483.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.151, allocations: 47.92 kB / 483.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.1511, allocations: 31.84 kB / 483.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1512, allocations: 35.69 kB / 483.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1514, allocations: 119.6 kB / 483.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1514, allocations: 4 kB / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1514, allocations: 0 / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1514, allocations: 0 / 483.7 MB, free: 2.305 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.0006028/0.152, allocations: 427.1 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1521, allocations: 12.03 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1521, allocations: 20.73 kB / 484.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1524, allocations: 211.9 kB / 484.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.1524, allocations: 384 / 484.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.1524, allocations: 8.375 kB / 484.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1526, allocations: 49.81 kB / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1526, allocations: 0 / 484.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1526, allocations: 4 kB / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1526, allocations: 0 / 484.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.752e-05/0.1527, allocations: 31.91 kB / 484.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1532, allocations: 316.6 kB / 484.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1533, allocations: 38.56 kB / 484.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.1534, allocations: 16.86 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1534, allocations: 4.062 kB / 484.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1534, allocations: 38.64 kB / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1534, allocations: 0 / 484.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009203/0.1543, allocations: 228.9 kB / 485 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1544, allocations: 59.34 kB / 485.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1547, allocations: 283.7 kB / 485.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1547, allocations: 25.7 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.1548, allocations: 120.1 kB / 485.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1548, allocations: 23.61 kB / 485.5 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1549, allocations: 25.72 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1551, allocations: 322.8 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.1552, allocations: 27.97 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1552, allocations: 32.06 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1554, allocations: 60.83 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1554, allocations: 0 / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.1556, allocations: 101.6 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1556, allocations: 6.5 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1557, allocations: 3.938 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1557, allocations: 0 / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.1558, allocations: 23.98 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1558, allocations: 0 / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.1558, allocations: 11.92 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1559, allocations: 0 / 486.1 MB, free: 15.6 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.0001045/0.156, allocations: 133.8 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.156, allocations: 15.81 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.1563, allocations: 134.9 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1564, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1564, allocations: 3.938 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1564, allocations: 3.938 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.157, allocations: 415.2 kB / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.157, allocations: 0 / 486.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.157, allocations: 24.02 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1571, allocations: 3.938 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1571, allocations: 4 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1571, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1571, allocations: 0 / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1573, allocations: 220.5 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.1574, allocations: 96.86 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1574, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1575, allocations: 3.984 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1576, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1576, allocations: 4 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1578, allocations: 213.5 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.158, allocations: 20 kB / 487.4 MB, free: 14.21 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.00107/0.1591, allocations: 445.8 kB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1593, allocations: 75.88 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1594, allocations: 4 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.1594, allocations: 35.92 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1598, allocations: 19.98 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.1604, allocations: 334 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1608, allocations: 0.7158 MB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1608, allocations: 27.36 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1608, allocations: 0 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.003697/0.1645, allocations: 1.89 MB / 491 MB, free: 10.78 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches